MYOBCommunity
Partner Zone
|
|
Partner Zone

OAuthTokenIsInvalid error

1 REPLY
MYOB Staff Post HelenB
235 Posts
MYOB Staff Post
New Zealand
HelenB
MYOB Staff Post

235Posts

206Kudos

58Solutions

Re: OAuthTokenIsInvalid error

Hi @Myles

 

Thanks for reaching out. Just a quick note - I can see we're also assisting this via developers@myob.com; we'll keep an eye out for any replies there so we help you out there.

 

Thanks

@HelenB
Helen Brophy
MYOB Developer Support

Are you a developer? Check out http://developer.myob.com
Looking for an Add-on? Check out http://myob.com/addons/
Contributing Partner Myles
10 Posts
Contributing Partner
Australia
Myles
Contributing Partner

10Posts

0Kudos

0Solutions

OAuthTokenIsInvalid error

this is my request - 

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

 

GET /accountright/ HTTP/1.1
HOST: api.myob.com
authorization: Bearer mrQ-!IAAAANZ2T3PqJVcoTEC4ett3j3tMulsJGuh8U0NH5duL933MsQAAAAHyvXsKALiIqV1trA1ClUg1PI0D8-WQppy-8gb6FaXBoAE3PDgeMrR83rdvVyXG1jaSckGJ-L0f6lsyzhbP0AL53vTygH6q5-Ei1WOmFYsWQWa910Th-T6dA5YsRLPZUvpa4jFwQDK1--SLY_vUDQ8_ggxPixRMDrK7T3wJmQPDTHv3lkUVxNJkB_Els7hUn90pmhi2osZ9tbosGZLT03aQcqhtXKn3hHOROKrg975uoA
x-myobapi-cftoken:
x-myobapi-key: 9msypfn452sxdsgd9f8e5xrq
x-myobapi-version: v2

 

i am getting a below response - 

{

"Name": "OAuthTokenIsInvalid"
"Message": "The supplied OAuth token (Bearer) is not valid"
"AdditionalDetails": "Header"
"ErrorCode": 31001
"Severity": "Error"
"LearnMore": null

}

 

It's really strange because my other app API is working correctly but only this key is not working.

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