Forum Discussion

Micheal2's avatar
4 years ago

Can not get invoice from MyOb

Hi Guys.

 

I have been trying to solve the problem to get all invoices, but it seems to be not working every time. The error always say error code 404 and the data response back with Buffer (length: 0, codepage: binary, checksum: da39a3ee5e6b4b0d3255bfef95601890afd80709)

 

However I can get Customer contact as the link: https://ar1.api.myob.com/accountright/c06778dd-4371-4a83-975f-522df65d7574/Contact/Customer

 

I am using HTTPS request as https://ar1.api.myob.com/accountright/c06778dd-4371-4a83-975f-522df65d7574/Sale/Invoice

 

Thanks in advance

  • Han-Solo's avatar
    Han-Solo
    MYOB Moderator

    Hi Micheal2

     

    Thank you for reaching out, 404 Resource not found is the standard success response code when an item you have requested can't be found.

     

    When seeing this error, check any uid that is carried in the API call you are making, to ensure it is valid.

     

    I am unable to spot any errors from the data you have provided, if you could create an API support request with us [HERE] and we can have a more in-depth look at what is occurring here.