Video upload Issues in Youtube using youtube IOS API only New google account

255 Views Asked by At

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.

1

There are 1 best solutions below

7
9to5ios On

The reason for this error was very simple. Your google account did not have a YouTube channel associated with it.