• stephanieraymos

    (@stephanieraymos)


    When inputting the API I get this message:
    Failed authentication.
    Error: Invalid XML: Website Temporarily Unavailable Locale: US Domain: webservices.amazon.com
    I tried clearing the cache already. Been at this for weeks. Every time it says disconnected and above the API input fields it says in red my sent values.
    I tried API generated directly from amazon and today tried api from AWS
    Neither work, verified with scratchpad

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    Let’s check if HTTP API functions run properly on your site.

    Can you try this?

    1. Install and activate the WP Remote Request Check plugin.
    2. Go to Dashboard -> Tools -> Rmt Request Check.
    3. Type https://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl

    Let me know what it says.

    Hi there, I have the same problem and I followed the steps you mentioned before with the wp remote request check plugin and I get this message:

    You’re all set!
    Response Code: 200
    Response Message: OK
    From: https://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl

    I understand it means it should be working, right?

    Plugin Author miunosoft

    (@miunosoft)

    @mouskeen

    Yes.

    Do you get the same error as “Invalid XML: Website Temporarily Unavailable”?

    I just checked now in case anything changed and yes, it still shows the same. Also, in my Settings the status appears as “disconnected” which doesn’t make much sense… any thoughts?

    Plugin Author miunosoft

    (@miunosoft)

    Did it use to connect before or did you get the error when you tried it for the first time?

    It always shows disconnected (I downloaded the plugin yesterday).

    Plugin Author miunosoft

    (@miunosoft)

    Have you tried ScratchPad to test your keys?

    Yes, I have tried with scratchpad, and everything worked fine. After some hours now the status in settings shows as “connected”. Still tho, I get the same “Invalid XML: Website Temporarily Unavailable” on the website.

    I tried removing the old unit and adding a new one (just in case there was sth wrong with that one) but still, get the same message.

    Plugin Author miunosoft

    (@miunosoft)

    So your keys are okay. Maybe, a cached error message is shown. You should try clearing unit caches.

    The message “Website Temporarily Unavailable” is given by Amazon API server with a 503 HTTP status. According to their explanation on Efficiency Guidelines (https://docs.aws.amazon.com/AWSECommerceService/latest/DG/TroubleshootingApplications.html),

    If you are trying to submit requests that exceed the maximum request for your account (TPD limit), or if your access has been revoked you will receive a 503 error message from Product Advertising API.

    If your keys are valid and getting this error, most likely you hit the TPD limit. In that case, you want to reduce the API usage.

    What I can suggest you is:

    – to set a longer unit cache duration value
    – avoid using the contextual unit type which performs unique API request per page basis
    – uncheck Query per Term unit option for search/contextual units

    These can help reduce the number of API requests.

    Also, if you are using different Amazon plugins that utilizes Amazon Product Advertising API, you should check those usage as well. And if you are running multiple web sites showing Amazon products with the same API keys, it’s possible that they can run out of the allowed number of API requests quickly.

    ok , got it working thanks! just had to clear the cache

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Failed authentication error’ is closed to new replies.