Questions re: Gmail Sidebar Gadget Deprecation

Google usually perform spring-cleanings. Usually announces around march-april which features will be removed, and by july-august performs removal. However marking a feature as deprecated does not necesarilly mean immediate removal. Also, maybe this is related to Google G-suite marketplace: https://gsuite.google.com/marketplace/ BTW: in any situation, combine something that “is crucial to our operation” and something that … Read more

OAuth2.0 token strange behaviour (Invalid Credentials 401)

Per the Google API docs on errors & error codes: https://developers.google.com/drive/handle-errors#401_invalid_credentials 401: Invalid Credentials Invalid authorization header. The access token you’re using is either expired or invalid. error: { errors: [ { “domain”: “global”, “reason”: “authError”, “message”: “Invalid Credentials”, “locationType”: “header”, “location”: “Authorization”, } ], “code”: 401, “message”: “Invalid Credentials” } } This matches your … Read more

How do I add/create/insert files to Google Drive through the API?

The documentation on insert operations already contains examples in a bunch of programming languages, here is how to do it using the HTTP based protocol of the Google Drive API. First, POST the new file metadata to the Drive endpoint. It has to be in the form of a File resource JSON object: POST /drive/v2/files … Read more

Error: invalid_client no registered origin

In the new Google API Console, configure your OAuth2.0 authorized origins from Your Project > APIs & auth > Credentials You might need to add a new Client ID specifically for a web application (I did because the default was for AppEngine) Create Client ID > Web Application > Authorized Javascript origins If you are … Read more

Google Play Developer API – “The current user has insufficient permissions to perform the requested operation.”

There is a very important thing about receipt validation using Google Play Android Developer API. If you added your in-app product BEFORE granting permission or linking to your service account, you need to open “In-app products” and perform some update. You can for example edit description of your product and save. You should instantly get … Read more