Unable to get token from refresh token

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.
aloktibrewal
1 Post
User

1Posts

0Kudos

0Solutions

Unable to get token from refresh token

Request
POST / https://secure.myob.com/oauth2/v1/authorize/


client_id=d739f2f7-0ef5-47ab-9946-b2e694363192&client_secret=E3bymLRGH2S4SmQV8g3fgiU4&refresh_token=bq7R!IAAAAPTFVGdjX_SkUFh2YHkO_Q6t4yLW0_1nSievq6uMm9CXwQAAAAGo8Oh1k0cEc10RKHfNgMHBAgD9w1yCmUBWUP6oIiZo65Q1G5hJLOdrVv5sGP19moEg5xyH0afMI4UPcGtpuky10lxGVL4CFcvdnLKrPDLNiTcVolcmh3JX-hZ&grant_type=refresh_token

 

 

Response
{"error":"invalid_request"}

2 REPLIES 2
The_Doc
Ultimate Partner
1,537 Posts
Ultimate Partner
Australia
Ultimate Partner

1,537Posts

236Kudos

162Solutions

Re: Unable to get token from refresh token

Hi @aloktibrewal 

 

This is an extraordinary complex subject and your post lacks very little information.

 

Essentially, from your post it seems your encoding will be in error - and that is where it gets really complex - which language are you using - and what is your format are you using and to answer the question - only someone using your coding language will be able to answer that.

 

It took me months of trial and error to settle on a format using MSAcess VBA as I wrote my own as I didn't like MYOB's SDK written in C# and VBasic though they worked - my coding works perfectly but is high specific to the VBA language of MSAccess.

 

And hence this 'POST' which is what it has to be is then code specific.

 

You wil get a quicker answer if you go direct to the api help email daddress developers@myob.com

 

however, they are not coders and their comments are generic not specific.

 

I found no help anywhere - not because it wasn't there - that it is highly, highly specific to your coding language and by definition then extraordinarily hard to give you fixes.

Unlike a general coding question - this is probably the most difficult time consuming problem of getting access to the online file.

 

Sorry I canot give you more help - ...

 

The Doc

Steven_M
45,180 Posts
Former Staff
New Zealand
Former Staff

45,180Posts

0Kudos

6,759Solutions

Re: Unable to get token from refresh token

Hi @aloktibrewal 

 

As has been indicated by the @The_Doc, providing additional information to a query would be able to offer further insight into how best the MYOB Community can assist with your query. 

In saying that, should you not want to provide that information in this public space or would like direct assistance from MYOB API support we would recommend reaching out to the dedicated MYOB API Support team through DeveloperCentre: Contact Us

Kind regards,
Steven

MYOB Community Support

Online Help| Forum Search| My Account

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