From time to time you may notice once completing OAuth that the company file you want to connect to is not visible via the API or returning [Null], this is generally caused by two things.
1. You have not been invited to the company file as a user
2. You have completed OAuth with a different email that was invited to the company file.
In order to see any AccountRight or Essentials company file via the API https://api.myob.com/accountright/ the Administrator of the company file will need to invite you as a user to the company file from the UI.
AccountRight user invite location:
1. Setup
2. User Access
3. New User
4. Enter user details and select roles
Essentials/MYOB Business user invite location:
1. Select the business name on the top right hand corner
2. Users.
3. Create user
Once accepting the invitation the company file should now be visible via the API. If this is still not visible check what email you completed OAuth with vs what was invited to the company file.
Please note: We recommend that a new user profile is created for the API. If you have restricted permissions from the UI you will have the same permissions via the API
If you have any questions, feel free to log a ticket with the Customisation & Integration Team.
Comments
0 comments
Article is closed for comments.