401 Authorization failed in Provisioning service. User NOT Authorized for file. User not found.

  • 1
  • Question
  • Updated 1 week ago
  • Answered
Hi there,

1) I am trying to test using Reckon Accounts Hosted Postman Collection, but all of post requests returned this error (401 Authorization failed in Provisioning service. User NOT Authorized for file. User not found.), just except Refresh Token request. Could you please show me how to set the environment correctly? (I already followed the guide in https://reckon.helpdocsonline.com/api-reckon-accounts-hosted-postman-collection with user Admin/admin).

2) In every post request, I found that we need to put data into QBXML part of body. What should I put into them? Is there any document that show what to put it them such as what kind of data for what tags?

Thank you.
Nghi.
Photo of Nghi Chu

Nghi Chu

  • 100 Points 100 badge 2x thumb

Posted 3 weeks ago

  • 1
Photo of Darryl Ross

Darryl Ross

  • 120 Points 100 badge 2x thumb

Try using the user id instead of the username to authenticate.

 

There is some documentation here on what to put in the QBXML:

 

https://developer-static.intuit.com/qbsdk-current/common/newosr/index.html

 

I found that the site works best if you open it in Firefox.
It is a good link, and remember to choose Max SDK Version = 6.0
Photo of Nghi Chu

Nghi Chu

  • 100 Points 100 badge 2x thumb
Thank you, guys. I'll check it out.
Photo of Nghi Chu

Nghi Chu

  • 100 Points 100 badge 2x thumb
Hi Darryl,

> Try using the user id instead of the username to authenticate.
Is there any other suggestion to authenticate? I tried using user id but it still responsed the same error (401 Authorization failed in Provisioning service. User NOT Authorized for file. User not found.).

Thank you.
Photo of Darryl Ross

Darryl Ross

  • 120 Points 100 badge 2x thumb
Log into your reckon hosted account and check that the path to the company file is the same as what is set in the Postman environment settings.

Also make sure that you can open the company file in Reckon Hosted with the file_username and file_password settings from the Postman environment settings.
Photo of Nghi Chu

Nghi Chu

  • 100 Points 100 badge 2x thumb
Hi Darryl,

I tried all the suggested, but I am still getting the 401 error. Is there anything else that I can try, please help. Thank you.
Photo of Ifti

Ifti, Product Manager

  • 6,356 Points 5k badge 2x thumb
Hi Nghi,

Can you please email apisupport@reckon.com and we'll look further into it?

401 means the token you passed wasn't correct. We need to check that in details to see what steps you took.

Thanks

Ifti