Forum Discussion

Mike_James's avatar
Mike_James
Ultimate Cover User
4 years ago

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. 

  • Han-Solo's avatar
    Han-Solo
    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 Cover User

      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.