Are you using OAuth2? Support for user/password credentials was ceased last 
month, so if you’re not using OAuth2, your app won’t work.

On 29 May 2015, at 09:08, Francesco Defazio <[email protected]> wrote:

Hi all, since 27th May 2015 I'm not able to upload pictures using picasa Api.
I get always the same error:
Execution of authentication request returned unexpected result: 404

The crediantials it wasn't change and by browser I can login without problems.
My application running succesfully since  October 2011.

The code of my application is:
            Dim reqSet As New Google.GData.Client.RequestSettings("GM")
            Dim picasarequest As Google.Picasa.PicasaRequest
            Dim service As New Google.GData.Photos.PicasaService("")
            reqSet.Timeout = 600000
            picasarequest = New Google.Picasa.PicasaRequest(reqSet)
            service = picasarequest.Service
            service.setUserCredentials(PicasaUserName, PicasaPassword)
            reqSet = Nothing
            picasarequest = Nothing

            Dim feed As Google.GData.Photos.PicasaFeed
            Dim entry As Google.GData.Photos.PicasaEntry
            Dim postUri As Uri
            Dim album As Google.GData.Photos.AlbumAccessor
            Dim StartIndex As Integer = 1
            Dim AlbumId As String = ""


                        Dim newEntry As New Google.GData.Photos.AlbumEntry
                        Dim feedUri As Uri
                        Dim AlbumSummary As String

                        AlbumSummary = GetAlbumSummary(AlbumNameCurrent)
                        newEntry.Title.Text = AlbumNameCurrent
                        newEntry.Summary.Text = AlbumSummary
                        album = New Google.GData.Photos.AlbumAccessor(newEntry)

                        If PhotoTypeCurrent = enPhotoType.Shipment Then
                            album.Access = "private"
                        Else
                            album.Access = "public"
                        End If

                        feedUri = New 
Uri(Google.GData.Photos.PicasaQuery.CreatePicasaUri(PicasaUserName))
                        album = New 
Google.GData.Photos.AlbumAccessor(service.Insert(feedUri, newEntry))

I got the error in the last operation:
                        album = New 
Google.GData.Photos.AlbumAccessor(service.Insert(feedUri, newEntry))

I also get the error with:             feed = service.Query(query)

        Dim query As Google.GData.Photos.AlbumQuery
        Dim feed As Google.GData.Photos.PicasaFeed

            query = New 
Google.GData.Photos.AlbumQuery(Google.GData.Photos.PicasaQuery.CreatePicasaUri(PicasaUserName))
            query.StartIndex = 1
            query.NumberToRetrieve = 1000
            feed = service.Query(query)

Thank in advance







-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] 
<mailto:[email protected]>.
To post to this group, send email to [email protected] 
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/google-picasa-data-api 
<http://groups.google.com/group/google-picasa-data-api>.
For more options, visit https://groups.google.com/d/optout 
<https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-picasa-data-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to