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.
*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).