503 RequestThrottled : Amazon Product Advertising API CartCreate - amazon-product-api

I am using scratchpad to explore this api. I am able to use item search and item lookup however I have not been able to successfully use cartCreate a single time. I am getting this error:-
Do i need to ask for a special permission to use cartCreate ?
Error! RequestThrottled
HTTP Status 503: Service Unavailable
AWS Access Key ID: __my_key___. You are submitting requests too quickly. Please retry your requests at a slower rate.
PS: So far I have only generated few sales from my affiliate account and signed up for this api. Could that be a reason for this throttling? Is there any developer account which is not subject to such throttling so that I can continue with the exploratory work.
Thanks

CartCreate has been removed in the new API version. Instead, you have to create your own Add To Cart link or form:
https://webservices.amazon.com/paapi5/documentation/add-to-cart-form.html
In general, you'll want to minimize the number of requests you're making, as it's very easy to bump up against those throttling limits.
Source : https://forums.aws.amazon.com/thread.jspa?threadID=318920

I had exactly the same problem :
I think you explore scratchpad from
https://webservices.amazon.fr/scratchpad/index.html#
with is the old API version
With your account (and mine) I get a disturbing error message : HTTP Status 503
You should use the new scratchpad version for the API 5 of Amazon Product Advertising :
https://webservices.amazon.com/paapi5/scratchpad/index.html
Make the same request, and you should see all is ok

Related

getting 403 Forrbiden from UPS

I'm using ImportJSONViaPost function to grab FedEx tracking status to my Google doc. which is working. Trying to do the same for UPS and hit a bump with 403-Forrbiden.
What I'm doing wrong?
Thank you.
Fedex
=INDEX(ImportJSONViaPost("https://www.fedex.com/trackingCal/track","data=%7B%22TrackPackagesRequest%22%3A%7B%22appType%22%3A%22WTRK%22%2C%22appDeviceType%22%3A%22DESKTOP%22%2C%22supportHTML%22%3Atrue%2C%22supportCurrentLocation%22%3Atrue%2C%22uniqueKey%22%3A%22%22%2C%22processingParameters%22%3A%7B%7D%2C%22trackingInfoList%22%3A%5B%7B%22trackNumberInfo%22%3A%7B%22trackingNumber%22%3A%22"&123456789012&"%22%2C%22trackingQualifier%22%3A%22%22%2C%22trackingCarrier%22%3A%22%22%7D%7D%5D%7D%7D&action=trackpackages&locale=en_US&version=1&format=json",,"/TrackPackagesResponse/packageList/scanEventList,/TrackPackagesResponse/packageList/trackingCarrierDesc","noHeaders"),1,5)
UPS
=INDEX(ImportJSONViaPost("https://www.ups.com/track/api/Track/GetStatus?loc=en_CA","%7B%22Locale%22%3A%22en_CA%22%2C%22TrackingNumber%22%3A%5B%221ZA668990495524105%22%5D%2C%22Requester%22%3A%22%22%2C%22returnToValue%22%3A%22%22%7D",,"/trackDetails[0].packageStatus","noHeaders"),1)
Based on the 403 status and the presence of "api" in the URL, I wonder if you're trying to access the UPS API in a way that requires an Access Key. The API Tech Support Guide walks nicely through the process for acquiring one.

ExactOnline - Error 403: Forbidden - The division is blocked

I am using ExactOnline API to fetch the transactions, my API is working fine, but suddenly the Error 403: Forbidden - The division is blocked error occurs and API return the empty result.
Please help.
Thanks.
An HTTP 403 with reason "The division is blocked" typically means the administration is temporarily blocked by a process that needs exclusive access to the administration. Examples are:
One of the company's users is creating or restoring a backup of the administration.
Exact is moving the administration to a different database. (After office hours; users are notified in advance through Exact Online's workflow system.)
API clients should be able to handle this situation. The typical solution is to try again at a later time.
You can find a full list of response codes here:
https://support.exactonline.com/community/s/knowledge-base#All-All-DNO-Content-respcodeserrorhandling

I am getting error on places Api "over query limit"

I am getting an error "OVER_QUERY_LIMIT" and on my console and I see response code 403 on Places API metrics.
I have ensured that billing is enabled and there is no cap on the limit for the API.
I was using Places SDK Android and now I am trying to use Places API on the same project and I get the error "OVER_QUERY_LIMIT".
Aside from billing account not enabled and exceeded cap, you usually get that error when any of the following is true:
An API key is missing from the request.
The provided API key is invalid.
Billing is not associated with your project.
The provided method of payment is no longer valid (for example, a
credit card has expired).
You have exceeded the QPS limits for Places API.
More details on that can be found on this link:
https://developers.google.com/maps/faq?#over-limit-key-error
For further assistance, kindly file a support case via https://console.cloud.google.com/google/maps-apis/support in order to open personalized communication channel.
OK disabled and enabled the API and made a new API key. That solved my issue. I have no explanation why it works by disabling and re-enabling the API.

google maps requests are forbidden with a status of 403 after working very well for at least a day

I am using the Google Maps Javscript Api, v3 and everything is working well up to a point where the requests for the map images are forbidden with a status of 403. Usually the map stops loading after a period of time in which the page/session is open: it may be 24 hours, it may be more than 48h, I couldn't actually find a more accurate period.
Given the fact that we want to have a live website and a testing one – different domains, I generated 2 different keys, and I am loading them conditionally, but the html rendered is the one expected.
var mapKey = VanillaRate.Domain.Settings.AppSettings.GoogleMapsApiKey;
and the script tag is:
script src="https://maps.googleapis.com/maps/api/js?key=#(mapKey)&libraries=places" async defer
The usage limits were not exceeded, the referrer is well set.
The error appears when the map is zoomed and it's:
Failed to load resource: the server responded with a status of 403 () - maps.googleapis.com/maps/api/js/StaticMapService.GetMapImage?....
Since I couldn’t find any exact posted situation nor documentation about it, it is possible to be a timeout on google servers for security reasons and this is why the requests are forbidden for a session longer than a day?
EDIT: I forgot to mention that after refreshing the tab, everything works well. If it was indeed the usage limit, would the server respond with success after refresh? I've read that in this case, the map wouldn't work all day. Is that right?
If the response is still a HTTP 403 (Forbidden) error, the signature was not necessarily the problem, it may be related to usage limits instead.
This typically means your access to the web service has been blocked on the grounds that your application has been exceeding usage limits for too long or otherwise abused the web service.
I find this answer on google developer. There is no simply way to resolve this problem. Google recommended two solutions:
Reduce requests to the server;
Or, 'purchasing additional allowance for your Google Maps APIs for Work license.'
You can also try to access to the the Google Cloud Support Portal to signal your problem.
I find this informations in google developer here. You can find on this link some solutions like I detail to you and the explanation of your problem.
"The usage limits were not exceeded"
Are you sure? You're loading the places library, in which case this applies:
Google Places API Web Service
Default 1,000 free requests per day,
increased to 150,000 free requests per day after identity
verification.
https://developers.google.com/maps/pricing-and-plans/
See also:
https://developers.google.com/places/web-service/usage
https://developers.google.com/maps/documentation/javascript/places#UsageLimits

Amazon Product Advertising API Scratchpad returning "MethodNotAllowed" every time

I am trying to use the Amazon Product Advertising API. I have successfully used it before, but the Wordpress plugin I was using has stopped retrieving Amazon information, and seems to think my credentials are not valid.
I created a new Access Key / Secret Key pair (root, not IAM), but it still did not work.
I tried using the Amazon Product Advertising API Scratchpad with these new credentials, but no matter what I try I get an error "MethodNotAllowed".
I have a suspicion that my credentials are not valid, or that I've lost access to the product advertising API for some reason. However, when I try to sign-up again for Product Advertising API, I get told I've already got access.
I can't find any error messages or warnings in my AWS account.
I'm stumped. Any suggestions greatly appreciated.
Well each API request to Amazon Product API requires a new signature. Here are the steps for calculating the signature for an API request: http://docs.aws.amazon.com/AWSECommerceService/latest/DG/rest-signature.html#rest-signature-examples