Reckon one API: invalid_client
Options
Stream Lending
Member Posts: 3 ✭
I have followed the auth document step by step but I still get this error.
The first step is all good. I can get the code from the response
But when trying to get the access_token, I always received 'invalid_client'
Here are the request details:
It's a local env with client id and secret. The callback url is: http://localhost
Client id is: 665df5df-0588-4ee8-8add-0a156576e8bc
Client secret: c12bbb8a-2443-4acb-96ec-83aa22fc421f
HttpType: POST
URL: https://identity.reckon.com/connect/token
Header:
{'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': 'Basic NjY1ZGY1ZGYtMDU4OC00ZWU4LThhZGQtMGExNTY1NzZlOGJjOmMxMmJiYjhhLTI0NDMtNGFjYi05NmVjLTgzYWEyMmZjNDIxZg=='}
Body:
{'code': '9aff562a59207c6cc2fb21b24875b252',
'redirect_uri': 'http://localhost', 'grant_type': 'authorization_code'}
Response:
The first step is all good. I can get the code from the response
But when trying to get the access_token, I always received 'invalid_client'
Here are the request details:
It's a local env with client id and secret. The callback url is: http://localhost
Client id is: 665df5df-0588-4ee8-8add-0a156576e8bc
Client secret: c12bbb8a-2443-4acb-96ec-83aa22fc421f
HttpType: POST
URL: https://identity.reckon.com/connect/token
Header:
{'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': 'Basic NjY1ZGY1ZGYtMDU4OC00ZWU4LThhZGQtMGExNTY1NzZlOGJjOmMxMmJiYjhhLTI0NDMtNGFjYi05NmVjLTgzYWEyMmZjNDIxZg=='}
Body:
{'code': '9aff562a59207c6cc2fb21b24875b252',
'redirect_uri': 'http://localhost', 'grant_type': 'authorization_code'}
Response:
<Response [400]> 400{"error":"invalid_client"} Please help me with this issue ASAP. We have been stuck by this problem for ages.
1
Comments
-
Hi there,
Based on what I know, it could be the callback URL you registered with this client id is not localhost, but it could be something else as well.
You should contact reckonapi@reckon.com so they can see what is the real issue.
Thanks,
PhuongPhuong Do / Reckon Developer Partner
phuong@cactussoftware.com.au
1 -
is there any update on this subject?. I had exact same issue0
-
nop. Reckon support told me that my token is valid. But I still got invalid_client...and I don't know how to fix it from my side and what to do next. I used the postman as they said with exact the same input but still no good news. This process took me 2 weeks and no result. So we have to put a delay on the integration of Reckon... If you have any solution, please let me know thx0
-
HI there,
As per your recent email, creating new profile seems to have fixed this issue.
Please let us know if you still need any help.
Thanks
Ifti0
Categories
- All Categories
- 6.9K Accounts Hosted
- 11 📢 Reckon Accounts Hosted - Announcements
- 6K Reckon Accounts (Desktop)
- 3 📢 Reckon Accounts Desktop - Announcements
- 1.2K Reckon Payroll 🚀
- 21 📢 Reckon Payroll - Announcements
- 21 Reckon Payroll Help Videos 🎥
- 21 Reckon Mate App
- 3.1K Reckon One
- 7 📢 Reckon One - Announcements
- 11 Reckon Invoices App
- 14 Reckon Insights
- 114 Reckon API
- 830 Payroll Premier
- 326 Point of Sale
- 2K Personal Plus and Home & Business
- 74 About Reckon Community