YouTubePlaylist icon indicating copy to clipboard operation
YouTubePlaylist copied to clipboard

On production playstore

Open oscarshaitan opened this issue 6 years ago • 4 comments

{ "errors": [ { "domain": "global", "reason": "required", "message": "Required parameter: part", "locationType": "parameter", "location": "part" } ], "code": 400, "message": "Required parameter: part" }

thats the error I got. and I have an api key working. any Idea?

oscarshaitan avatar Sep 20 '18 01:09 oscarshaitan

Do you have a stack trace showing which class the error is coming from? It's either GetPlaylistAsyncTask.java or GetPlaylistAsyncTask.java. Take a look inside those classes, notice the class member variables YOUTUBE_PLAYLIST_PART and YOUTUBE_VIDEOS_PART. These selectors indicate which part of the "playlist" or "video" API request should be included in the response. The error message you posted seems to indicate that the "part" parameter is missing from the API request which is required. You're going to have to do some debugging to figure out what's happening with your code in production that this parameter is not being set on the API request.

akoscz avatar Sep 25 '18 17:09 akoscz

on debug works perfect, but when I use the app on the playstore fails, I check the key by using http request, I put the part on the builder and nothing works

oscarshaitan avatar Sep 26 '18 15:09 oscarshaitan

Same Issue Occured

SaadAhmed1122 avatar Aug 06 '21 05:08 SaadAhmed1122

It work perfectly on debug but videos are not show when upload the app on playstore.

SaadAhmed1122 avatar Aug 06 '21 05:08 SaadAhmed1122