API Connection

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.
DanielMarshall
Partner
4 Posts
Partner

4Posts

0Kudos

0Solutions

API Connection

What causes the below error? 

 

Please examine the list below and copy/paste the appropriate Company File ID into each store’s 'Company File ID' configuration option in Finance Manager before trying to export.

Base URL : https://api.myob.com/accountright/

Unhandled error (ConnectionException)

Unable to get company files for BaseUrl https://api.myob.com/accountright/
Inner Exception: Encountered a communication error (https://api.myob.com/accountright/)
Inner Exception: The underlying connection was closed: An unexpected error occurred on a send.
Inner Exception: Authentication failed because the remote party has closed the transport stream.

2 REPLIES 2
Triboss
Valued Partner
99 Posts
Valued Partner
Valued Partner

99Posts

6Kudos

15Solutions

Re: API Connection

Make sure you have upated the SDK and/or using a "secure" connection method.

See here for details:

https://community.myob.com/t5/MYOB-API-questions-and-answers/TLS-Security-Changes-Issues-connecting-...

Jacob_S
15 Posts
Former Staff
New Zealand
Former Staff

15Posts

0Kudos

3Solutions

Re: API Connection

Hi @DanielMarshall,

 

Thanks for reaching out. Last week we made a change to our API meaning we will no longer accept connections using TLS1.0. As @Triboss has said, you will need to update the SDK and ensure you are using TLS1.1 or greater. 

 

Here is a link to our blog post which has more information on this - http://myobapi.tumblr.com/post/177017431449/tls10-no-longer-supported

 

Thanks,
Jacob
MYOB API Team

Are you a developer? Check out http://developer.myob.com
Looking for an Add-on? Check out http://myob.com/addons/
MYOB API Support Centre - https://apisupport.myob.com

 

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