Forum Discussion

Prolorus's avatar
4 years ago

404 (Not Found) when trying to PUT an update to an existing Customer

I have just created a new Customer in a demo company using a POST and that worked well! I am using the "Location" that is in the response header to record the UID of the new Customer.

 

But when I try and do a PUT to change some values I get a 404 error. I am basing the end point in this structure with the UID of the new Customer on the end...

 

https://ar1.api.myob.com/accountright/{CDF_UID}/Contact/Customer/{UID}

 

Could there be an issue with case sensitivity or something else strange?

  • Tana's avatar
    Tana
    MYOB Staff

    Hi there.

    Thank you for reaching out via the forum.
    I see you have a support ticket with us as well so I will liase with you there.

    I will leave some general information about that error here for anyone else who encounters it.

    The error DeveloperInactive generally means that the API is unable to read your API key. This is due to either the Key being inactive or the `x-myobapi-key` is missing from the request. 

    From our end we can check your key is active, at your end I would check that you are passing all the correct headers during in the failed request.

    Kind regards