3 years ago
401 Unauthorized error
Hi, I am able to access my company file however, I am getting "401 Unatuthorized" when trying to get customer details. I am using MYOB SDK and passing my user credentials and request as below var cr...
lot of info missing here
Are you using online or network? I assume because you refer to oauth you are trying to connect online but it looks like you you ar etring to connect to a network file using username/password
if so you are not access the service correctly. You need to pass the token from the oauth call into the contructor of the service.
Read the dev doco Authentication (myob.com)
Search the Community Forum for answers or find your topic and get the conversation started!
Find technical support and help for all MYOB products in our online help centre
Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.