Issues Scenario : I'm tried upload the video to youtube using iOS Youtube API in new Google account. After logged success i'm getting the below exception. Can you please advice how to fix in objective c.How to fix it please advice me
unexpected response data (uploading to the wrong URL?)
'NSInternalInconsistencyException', reason: 'unexpected response data (uploading to the wrong URL?)'
I removed debugging in Code i'm getting
An error occurred: Error Domain=com.google.GTLJSONRPCErrorDomain Code=-32602 "The operation couldn’t be completed. (Unauthorized)" UserInfo=0x17547f680 {error=Unauthorized, NSLocalizedFailureReason=(Unauthorized), GTLStructuredError=GTLErrorObject 0x1744557b0: {message:"Unauthorized" data:[1] code:-32602}}
Working Scenario : I tried to upload with old google account(this account already logged and created chennal manually) video uploaded successfully.
The reason for this error was very simple. Your google account did not have a YouTube channel associated with it.