REST API - Bad Request

0
Hi guys,   Struggeled for some hours now. Could you give me advise? Situation: need to perform a REST API call (POST) to retrieve a access_token.  I have no clue what is wrong with the call – i get 400 Bad Request. Could you spot the error?    
asked
3 answers
5

Hey Dirk,

Can you please send the screenshot of the ‘Connector’ stack trace,

It will help us understand where the issue is.

 

 

answered
0

Hi Dirk,

 

According to the Exact API documentation and the Postman collection, you should also add the redirect_uri parameter

redirect_uri: https://www.mycompany.com/myapplication

 

The Postman collection (Postman is the Swiss army knife for REST API testing)

Go Make It

answered
0

Hey all

 

Update: found a bug.

The issue was that somewhere in my microflow, the refresh_token got truncated (at this moment not sure why). Apparently the API gives in this case an 400 back, and not a 40 (unauthorised).

 

Thanks for thinking along

 

Dirk Peter

 

 

 

 

answered