Forum Discussion

Mike_James's avatar
Mike_James
Ultimate Partner
4 years ago
Solved

API response header 200 OK, but body gateway timeout, result = duplicate posting

Hi all, just to let you know that I have received an API response (to a transaction posting) that says 200 OK in the header, yet the body says gateway timeout, and the result was that a transaction was posted twice. Our code picked up the timeout message and re-tried the posting. 

 

I have raised a query with the API team.

  • Hi Mike_James

     

    Thanks for reaching out, As you currently have an open ticket with us I will continue to reply to our open ticket and any public update will be posted in the thread above in regards to 504 Gateway timeout updates. 

2 Replies

Replies have been turned off for this discussion
  • Hannah_B's avatar
    Hannah_B
    MYOB Moderator

    Hi Mike_James

     

    Thanks for reaching out, As you currently have an open ticket with us I will continue to reply to our open ticket and any public update will be posted in the thread above in regards to 504 Gateway timeout updates. 

    • Mike_James's avatar
      Mike_James
      Ultimate Partner

      Hi all, my thanks to the API devs; for the first time in a long while, there were no API errors, and our retry code is redundant! Hoping this will continue.