Intermittent error when using GDataServiceGoogleYouTube: "failedWithStatus:-1003"
31 views
Skip to first unread message
Zak
unread,
Nov 28, 2012, 7:10:08 PM11/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gdata-objec...@googlegroups.com
About 1 out of every 5 times or so, my attempt to pull YouTube profile info with a GDataService object will result in a failedWithStatus:-1003 error. At this point, the user is already authenticated with GTMOAuth2Authentication so I don't understand why this error is occuring. I looked up this code in the GTMOAuth source file and it looks like a "Token Unavailable" error. Can anyone explain what happens to cause this error? What are the possible reasons why the GTMOAuth2Authentication is losing the refresh token? How should I start tracking down a solution?
Greg Robbins
unread,
Nov 28, 2012, 9:29:50 PM11/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gdata-objec...@googlegroups.com
What's the domain of the error? If it's com.google.HTTPStatus (kGTMHTTPFetcherStatusDomain) then the error is NSURLErrorCannotFindHost, which is a low-level networking failure.
Zak
unread,
Nov 29, 2012, 7:54:12 PM11/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gdata-objec...@googlegroups.com
Because this error is so intermittent, I'm having a hard time reproducing it. I'm gonna have to wait to report back.