Google application marketplace API does not work - google-apps-marketplace

We use Google API https://www.googleapis.com/appsmarket/v2/licenseNotification/appId endpoint and it works some time, but for now it returns 503 response with error message
{"error":{"errors":[{"domain":"global","reason":"backendError","message":"Temporary error. Please try later."}],"code":503,"message":"Temporary error. Please try later."}}
Could anyone suggest what it can be and how to fix this problem?

Related

Forbidden 403 Access URL API in Laravel

Good afternoon, let me ask
I created a service API using Laravel, but one of the API urls when I sent the response parameter was 403 or Forbidden. even though before it was fine, it worked smoothly. And I raised it to the server instead it became Forbide. Anyone know why? thank you for answering
If it is ok on local and getting a forbidden error on the server, the problem might be caused by the webserver application. please take a look at this link.

How to show laravel api error in digitalocean?

I deploy my Laravel + vue project on the Digitalocean apps and some of my api are working but some are not.
When I look into the api response I received message: "Server Error",
But the api is working on localhost and gives error after the deployment.
Is there a way to view the actual error message of the api reponse? so that I can easily understand what causing the error and fix it.
But I really find it weird that it causing error in the digitalocean apps, but works on my local machine.
I've tried searching for hours how to view the errors but I can't find it.
please help me. Thank you!
You can log in to your server and look in the file storage/logs/laravel.log.
Otherwise, I would suggest using a service such as Bugsnag or Sentry, which have integrations with laravel and will give you a dashboard with all your errors
Some people suggest putting APP_DEBUG to true, but that is a security risk as your customers will be able to see the error as well, and you should never do this on a production server

Google API Down?

I am experiencing an issue where the Google CSE API returns the below error message. It was working fine yesterday but is now returning the error message. Also, I have tried setting it up on multiple devices, and has still returned the same error, I am wondering if anybody else if having a similar issue?
<HttpError 400 when requesting https://www.googleapis.com/customsearch/v1?q=search+test%3F&cx=017576662512468239146%3Aomuauf_lfve&key=AIzaSyDAtLtCNLRicMACGZEOnJE38gQ_omhbSKE&alt=json returned "Bad Request">
This is the line of code executing the search:
res = service.cse().list(q=query, cx=g_cse_id, start=start).execute()
API is working key is the issue. Try generating a new one from the google console. I tried it with my key and same request is working.
You can get the key from here https://developers.google.com/custom-search/json-api/v1/overview

502 Bad Gateway https://www.googleapis.com/discovery/v1/apis/drive/v2/rest?

Is anyone else getting a 502 Bad Gateway error when trying to access:
https://www.googleapis.com/discovery/v1/apis/drive/v2/rest?userIp=121.74.173.27
API Explorer also seems to be down?
https://developers.google.com/apis-explorer/#p/
Or is there something else I should be doing?
Thank you!
It appears to have started working again after being down for ~ 1 hr.
Nothing needed to be done.
Would be nice if there was a status page for the Google APIs as well.
Thanks all.
We're seeing frequent 502 Bad Gateway errors too. The HTML response from Google recommends retrying in 30 seconds.
The Google Drive API documentation recommends implementing an exponential back off to deal with transient errors.
https://developers.google.com/drive/handle-errors

Error message when using google contact api

When I try to fetch contacts from gmail, I received this error message:
The page you have requested cannot be displayed. Another site was requesting access to your Google Account, but sent a malformed request. Please contact the site that you were trying to use when you received this message to inform them of the error. A detailed error message follows:
The site "http://url.com" has not been registered.
May I know how to rectify it? Thanks!
Have you tried registering the domain with Google's API?
docs:
https://developers.google.com/accounts/docs/RegistrationForWebAppsAuto#new
resgister url:
https://accounts.google.com/ManageDomains
Also if you are making calls from http and not https you may be seeing problems there too.

Resources