Title: Failed authentication error
Last modified: March 15, 2019

---

# Failed authentication error

 *  [stephanieraymos](https://wordpress.org/support/users/stephanieraymos/)
 * (@stephanieraymos)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/failed-authentication-error/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffailed-authentication-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/failed-authentication-error/#post-11320210)
 * Hi,
 * Let’s check if [HTTP API](https://codex.wordpress.org/HTTP_API#HTTP_API) functions
   run properly on your site.
 * Can you try this?
 * 1. Install and activate the [WP Remote Request Check](https://wordpress.org/plugins/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.
 *  [Eduardo Sans](https://wordpress.org/support/users/mouskeen/)
 * (@mouskeen)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/failed-authentication-error/#post-11365100)
 * 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](https://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl)
 * I understand it means it should be working, right?
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/failed-authentication-error/#post-11366649)
 * [@mouskeen](https://wordpress.org/support/users/mouskeen/)
 * Yes.
 * Do you get the same error as “Invalid XML: Website Temporarily Unavailable”?
 *  [Eduardo Sans](https://wordpress.org/support/users/mouskeen/)
 * (@mouskeen)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/failed-authentication-error/#post-11366824)
 * 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](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/failed-authentication-error/#post-11367071)
 * Did it use to connect before or did you get the error when you tried it for the
   first time?
 *  [Eduardo Sans](https://wordpress.org/support/users/mouskeen/)
 * (@mouskeen)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/failed-authentication-error/#post-11367125)
 * It always shows disconnected (I downloaded the plugin yesterday).
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/failed-authentication-error/#post-11367467)
 * Have you tried [ScratchPad](https://webservices.amazon.com/scratchpad/index.html)
   to test your keys?
 *  [Eduardo Sans](https://wordpress.org/support/users/mouskeen/)
 * (@mouskeen)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/failed-authentication-error/#post-11369261)
 * 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](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/failed-authentication-error/#post-11371709)
 * 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](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.
 *  [Eduardo Sans](https://wordpress.org/support/users/mouskeen/)
 * (@mouskeen)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/failed-authentication-error/#post-11371768)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-auto-links_eeeeee.svg)
 * [Auto Amazon Links - Amazon Associates Affiliate Plugin](https://wordpress.org/plugins/amazon-auto-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-auto-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-auto-links/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-auto-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-auto-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-auto-links/reviews/)

## Tags

 * [amazon](https://wordpress.org/support/topic-tag/amazon/)
 * [amazon associates](https://wordpress.org/support/topic-tag/amazon-associates/)
 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [warning message](https://wordpress.org/support/topic-tag/warning-message/)

 * 10 replies
 * 3 participants
 * Last reply from: [Eduardo Sans](https://wordpress.org/support/users/mouskeen/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/failed-authentication-error/#post-11371768)
 * Status: not resolved