Forum Discussion

Test001's avatar
8 months ago

Encountering CORS Errors with MYOB Business API in React App

I'm developing a React web app and using the MYOB Business API. When I call the API, I'm encountering a CORS error. Could you please provide an update on this issue?

  • Doreen_P's avatar
    Doreen_P
    MYOB Moderator

    Hi Test001,

     

    Thanks for your post, and welcome to the MYOB Community Forum.

     

    CORS errors can occur when making requests to APIs from a web application that is hosted on a different domain than the API itself. This issue typically arises due to security restrictions imposed by browsers to prevent unauthorized access to resources. For further assistance regarding this, please reach out here.

     

    Feel free to post again anytime if you require further assistance. 
     
    If my response has answered your inquiry, please click "Accept as Solution" to assist other users in finding this information.

     

    Best regards,

    Doreen