# Error 504 on API calls using OAUTH token

**URL:** <https://forum.wixstudio.com/t/error-504-on-api-calls-using-oauth-token/58005>\
**Category:** Ask the community\
**Tags:** api, question, code\
**Created:** [April 10, 2024, 5:26pm UTC](https://forum.wixstudio.com/t/error-504-on-api-calls-using-oauth-token/58005 "2024-04-10T17:26:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fish\_Buckets](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/fish_buckets/32/84599_2.png) [@Fish\_Buckets](https://forum.wixstudio.com/u/Fish_Buckets)\
**Post date:** [April 10, 2024, 5:26pm UTC](https://forum.wixstudio.com/t/error-504-on-api-calls-using-oauth-token/58005/1 "2024-04-10T17:26:32Z")

</div>

**Question:**  
error 504 on API calls using OAUTH token from the past 2 days. Not sure why? Can’t see any downtimes as well.

**Product:**  
Ecommerce REST API

**What are you trying to achieve:**  
I have a backend app to make bespoke invoices but everytime I send the POST request, I get an error 504 after 9 seconds.

**What have you already tried:**  
I have tried removing the app and re adding it. Got all new tokens but still failing.

**Additional information:**

 ![Screenshot 2024-04-10 at 18.15.58](https://us1.discourse-cdn.com/wix/original/3X/8/1/8102708ce992c4fcc236f5458f8be36047ef4089.png)

[Include any other pertinent details or information that might be helpful for people to know when trying to answer your question.]

---

<div class="post-metadata">

**Author:** ![anthony](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/anthony/32/79536_2.png) [@anthony](https://forum.wixstudio.com/u/anthony)\
**Post date:** [April 15, 2024, 2:26pm UTC](https://forum.wixstudio.com/t/error-504-on-api-calls-using-oauth-token/58005/2 "2024-04-15T14:26:59Z")

</div>

They’re aware of this issue and if this issue is still happening they would like you to open a ticket with our support team: [Contact Wix](https://www.wix.com/support-chatbot?nodeId=aedad5ab-8cdd-4c3a-94e9-7a6e3f96835e&referral=bugReportForum)
