Forum Discussion

caremeninfo's avatar
4 years ago

'https://api.myob.com/accountright' from origin 'http://localhost:8080' has been blocked by CORS policy

I'm tring to request company files via the following endpoint from localhost

https://api.myob.com/accountright/

 however, it always comes back with CORS error

Access to XMLHttpRequest at 'https://api.myob.com/accountright' from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resourc

 

By the way, I've already successfully get the access_token and refresh_token from the https://secure.myob.com/oauth2/v1/authorize/

1 Reply

Replies have been turned off for this discussion

Looking for something else?

Search the Community Forum for answers or find your topic and get the conversation started!

Community home

Level up your skills using MYOB software.

 

Find help guides and technical solutions for all MYOB products here

Explore video tutorials for our software at the MYOB Academy here

 

Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.