This error represents some issue while authorising the account against MYOB.
We would recommend the client to try again. If the problem persist, we'll need to unauthorised and authorise again to refresh the authorization.
Unexpected error: : { "Errors": [ { "Name": "OAuthTokenIsInvalid", "Message": "The supplied OAuth token (Bearer) is not valid", "AdditionalDetails": "Header", "ErrorCode": 31001, "Severity": "Error", "LearnMore": null } ], "Information": "Warning, error messages have not been finalised in this release and may change" } /etc/mechanicdesk/vendor/bundle/ruby/2.1.0/gems/oauth2-1.4.0/lib/oauth2/client.rb:119:in `request' /etc/mechanicdesk/vendor/bundle/ruby/2.1.0/gems/oauth2-1.4.0/lib/oauth2/access_token.rb:107:in `request' /etc/mechanicdesk/vendor/bundle/ruby/2.1.0/gems/oauth2-1.4.0/lib/oauth2/access_token.rb:114:in `get' /etc/mechanicdesk/vendor/bundle/ruby/2.1.0/bundler/gems/myob-api-620ea19ad151/lib/myob/api/models/base.rb:127:in `perform_request' /etc/mechanicdesk/vendor/bundle/ruby/2.1.0/bundler/gems/myob-api-620ea19ad151/lib/myob/api/models/base.rb:20:in `all' /etc/mechanicdesk/vendor/bundle/ruby/2.1.0/bundler/gems/myob-api-620ea19ad151/lib/myob/api/client.rb:146:in `company_files' /etc/mechanicdesk/vendor/bundle/ruby/2.1.0/bundler/gems/myob-api-620ea19ad151/lib/myob/api/client.rb:75:in `select_company_file' /etc/mechanicdesk/app/models/myob_account_right_live/accounting_gateway.rb:53:in `renew_access_token' /etc/mechanicdesk/app/models/myob_account_right_live/accounting_gateway.rb:85:in `sync_all' /etc/mechanicdesk/app/workers/accounting_sync.rb:56:in `sync_all'
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article