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
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
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
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.
Reply all
Reply to author
Forward
0 new messages