The company file version is not supported

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.
Shane_Russell
2 Posts
User

2Posts

0Kudos

0Solutions

The company file version is not supported

I am connecting to the MYOB API using Postman and am able to authenticate and List company files and API info.  I can also query a single file by Company_File_URI and Company_FIle_Id to successfully list all the API endpoints.

However, if I attempt to query any of the end points I receive an error:   {"Message": "The Company File version is not supported."}

Company_FIle_URI is https://arl2.api.myob.com/accountright/

https://arl.api.myob.com/accountright/info reports V2 for all endpoints.

I am passing v2 as x-myobapi-version

I am not sure how to proceed.




3 REPLIES 3
camhospoconnect
4 Posts
User

4Posts

0Kudos

0Solutions

Re: The company file version is not supported

Just checking, but yourCompany_FIle_URI should have a UID at the end:
https://arl2.api.myob.com/accountright/<UID>

And have you created the token using the username and password?

Shane_Russell
2 Posts
User

2Posts

0Kudos

0Solutions

Re: The company file version is not supported

Yes I am using Company_File_URI/Company_File_ID

Yes I have created the token.

camhospoconnect
4 Posts
User

4Posts

0Kudos

0Solutions

Re: The company file version is not supported

OK, I thought that might be the case but just checking.

I have had this issue once before, and that was when I created a new MYOB business using the website instead of using the AccountRight desktop software. Using the website (I am not sure exactly where I was because MYOB has so many different domains that I get lost) it must have created a type of Company File that was unable to be accessed using this particular API. IIRC I was able to make some of the initial requests but then got denied with the same error message you are getting when trying to go further.

Once I installed the actual AccountRight software in a virtual machine, and created a business there, I was able to use the API and complete my integration.

This might not be your issue, but do check your account type to make sure it is a compatible MYOB product, which are alluded to here:
https://developer.myob.com/api/myob-business-api/api-overview/getting-started/

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