tedyk / google-photos-android

Android example app demonstrating integration with Google Photos, using the Drive REST API.
19 stars 3 forks source link

JSON Exception #2

Open rupakkr opened 6 years ago

rupakkr commented 6 years ago

Hi , I have done the steps as instructed I am able to choose account getting the consent screen but there is not data to display ..checked the log and log says.. ............................................................................................................................................................ Server response: 403 03-09 13:00:38.718 2436-2519/org.tedka.poc.googlephotos D/GDController: { "error": { "errors": [ { "domain": "usageLimits", "reason": "ipRefererBlocked", "message": "The request did not specify any Android package name or signing-certificate fingerprint. Please ensure that the client is sending them or use the API Console to update your key restrictions.", "extendedHelp": "https://console.developers.google.com/apis/credentials?project=992732328434" } ], "code": 403, "message": "The request did not specify any Android package name or signing-certificate fingerprint. Please ensure that the client is sending them or use the API Console to update your key restrictions." }} 03-09 13:00:38.719 2436-2519/org.tedka.poc.googlephotos W/System.err: org.json.JSONException: No value for items

............................................................................................................................................................. Please help

ercanduman commented 5 years ago

I had the similar error. After removing existing API key and renew it, now it works fine.