I am getting the below error, while using the HTTP activity. Attached the code snippet below for reference.
Error: {“error”:“invalid_request”,“error_description”:“AADSTS900144: The request body must contain the following parameter: ‘grant_type’.\r\nTrace ID: e8643bec-a23a-42d2-b42b-b6e6759d7f00\r\nCorrelation ID: 77876c62-15a1-4462-95a4-af88f91c0278\r\nTimestamp: 2021-12-14 11:51:40Z”,“error_codes”:[900144],“timestamp”:“2021-12-14 11:51:40Z”,“trace_id”:“e8643bec-a23a-42d2-b42b-b6e6759d7f00”,“correlation_id”:“77876c62-15a1-4462-95a4-af88f91c0278”,“error_uri”:“
https://login.microsoftonline.com/error?code=900144
”}
Note:- The same is working fine in POSTMAN…Not sure why its saying ‘grant_type’ is missing.
Can you pls help.
Log In using your UiPath Account to:
• get help with your automation projects
• share feedback, report bugs or just drop us any question
• become an MVP and get access to
exclusive events
• save your user preferences like themes and more
• automatically sign in to other services
• get in touch with our Forum staff