OdataLink Error Code 8001: MYOB denied access to the endpoint

From OdataLink
Jump to navigation Jump to search

Error 8001 will be logged when MYOB denies access to the endpoint.

MYOB does further checks when accessing endpoints based on the MY.MYOB login used when adding the data file. As such, it is possible that the MY.MYOB login does not have access to all parts of MYOB. The MY.MYOB login may have access to one specific endpoint and not another.

The way to resolve this issue may vary depending on a number of factors.


If you can connect to some endpoints and not others

If you can connect to some endpoints and not others, you may want to try reauthorise access to your data file. Sometimes, authorising with a different login to MYOB will resolve the issue. We recommend using a my.myob login that has Administrator access if at all possible.


If everything was working fine but it all stops working suddenly

If instead, you could connect fine and can't suddenly, it may be the MY.MYOB login has been revoked (in cases where the employee leaves the company). It's also possible MYOB naturally revoked the tokens, or some IT adminstrator forced a revoke. Typically, in these scenarios, none of the endpoints work. In this instance, reauthorise access to your data file should resolve the issue.


Some data files require an explicit USERNAME and PASSWORD (MYOB v19 like access)

Finally, some data files require setting an explicit data file USER NAME and PASSWORD. (e.g. Administrator). This is particularly common for those that came from the desktop version of MYOB. See Editing a data file's details for further information.


Last Resort

As a last resort, you may also remove and re-add the data file. This can cause some issues with OData Feeds and should only be done as a last resort.


Related Topics

OdataLink OData feed error codes
Troubleshooting Guides