Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
July 2021
July 2021
Solved! Go to Solution.
July 2021
July 2021
HI @skihappy ,
Thanks for reaching out, The error 401 Unauthorised is normally caused by single sign-on being enabled from the front end of the program. When single sign-on has been enabled this means you are not required to pass the CFtoken header via the API.
If you remove the CFtoken header and complete a request is this now successful?
Single Sign on: https://apisupport.myob.com/hc/en-us/articles/360001479716-Single-Sign-on-SSO-and-cftoken
If the above does not resolve the issue this leads me to think that you might not have full user access to the file.
Thanks,
Thanks,
@Hannah_B
MYOB API Specialist
MYOB API Support Centre|MYOB App Marketplace|MYOB AccountRight API Endpoint Doc's
Did my answer help?
Mark it as a Solution
July 2021
July 2021
removing the "cftoken" header still had same issue
noticed that cftoken was "blank"
checked and found my credentials was being reset before the insert operation,
fixed the reset operation
checking the "cftoken" confirmed cftoken was correct for user , now working
Thanks
by
BareBeauty
4 weeks ago
8
221
|
8
|
221
|
||
by
Legends1
a month ago
0
124
|
0
|
124
|
||
by
Krismic
a month ago
0
100
|
0
|
100
|
||
8
|
562
|
|||
1
|
201
|