5 months ago
OAuthTokenIsInvalid
Hi there, I use OAuth sending post request to get access_token by using client_id, client_secret and refresh token. By doing this, I have received access_token and refresh_tokent back properly. Then...
Thanks for in information The Doc,
May I know how this actually happen and how to fix? Due to I have this integration with many clients which I have tested with other client accounts. By doing this, it seems work fine for others which can get company file without any issue except this client that I got back with OAuthTokenInvalid. Is this on client side which may have changed configuration causing an issue?
Regards,
Baramee
Sorry, cannot answer - MYOB are suggesting it is happening to some developers and not others. All my clients went off the air with the same problem - so am handling manual update as I don't want to reprogram my code.
You are using MYOB's SDK - VC# I presume - though I know and use VC#.Net I never used or even looked at the code to see how it works - I got the VB.Net version going, never got the VC#.Net version going and moved on without trying to analyse.
Have a look at a reply another post - someone has suggested a temp fix in the VC#.Net code re extinguishing a '== Null ' - has to be VC# - and this may be your temp clue.
My code is written in VBA and is bespoke.
Regards Howard
Search the Community Forum for answers or find your topic and get the conversation started!
Find technical support and help for all MYOB products in our online help centre
Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.