Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
I'm developing a little web tool to get company details from AccountRight v2. I can get passed oauth OK to get my access tokens.
I get to displaying a list of company files. I also prompt for a username and password for which I put in the header. The next call I'm making is just to get company details e.g /Company.
I currently only get the SandBox demo file in the list which is fine. With this list of files you get a URI.
So I thought I had to use that and put /Company on the end. As I understand it, the demo file user/password is just Administrators with no password.
But when I make this call I get a HTTP "401 Unauthorized" and the JSON response is:
"Message": "Access denied"
I'm not sure if that's telling me the username/password is incorrect or that I'm pointing to the wrong URI.
I believe it's the last piece of the puzzle so if anyone could shed some light on it would be great.