CompanyFile list returning EMPTY

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
BrankoPedisic
Contributing Partner
5 Posts
Contributing Partner
Australia
Contributing Partner

5Posts

0Kudos

1Solutions

Solved: Go to Solution

CompanyFile list returning EMPTY

Hello,

 

Tried to get the list of the company file for a new client integration by calling the API base URL below w/ relevant authorisation...

https://api.myob.com/accountright

 

All I am getting is a status 200 with an empty JSON payload.

 

Note, this is not the first client that we have integrated with and if doing the same test with other client integrations, we can see our request work just fine (i.e. it returns the company file object).

 

Any reason why we wouldn't see this for a specific client? Any help appreciated.

 

Thanks.

1 REPLY 1
BrankoPedisic
Contributing Partner
5 Posts
Contributing Partner
Australia
Contributing Partner

5Posts

0Kudos

1Solutions

Accepted Solution Solved

Re: CompanyFile list returning EMPTY

*Update*

 

Found this article, so will go back to the client and have them check whether the user account that was used to generate the tokens was invited to access the company file as a user.

 

https://apisupport.myob.com/hc/en-us/articles/5619697581839-Company-file-not-visible-via-the-API

 

 

*Final Update*

Just closing this off as the link above was our problem. The user accout that the client had used to generate the access token was not setup as a Company File user (as per the link above).

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post