I keep getting an error that indicates that my http request is missing a parameter, but input clearly indicates that the parameter has been passed. Is it possible that the JSON is being malformed somehow? Or am I missing something? See attached.
Edit:
To answer some possible questions: (1) I'm authenticating to CRM because the actions I need to use are not exposed by Flow Actions (2) I've tried this exact same request in Postman and got a successful reply. I copy/pasted the values into Flow.
Solved! Go to Solution.
It is because of the content type as Raj pointed out. If you need to send a "application/x-www-form-urlencoded" payload you will need to send the body like the following:
grant_type=password&username=<url-encoded-username>&...
that should work.
can you send me the flow you used like so I can look it up
https://flow.microsoft.com/manage/flows/2ff01333-0ccb-450a-8aac-499da85766ce
Thanks
Sorry I'm just following up on this; I put this flow on the back burner for a while.
The flow id is: 90a21ba7-0344-47bb-bdd6-5093bc017abf
We've made a lot of chagnes since you posted. Have you retried to see if this is still an issue?
I did. Output below. Looks like the same result as before:
HI,
I'm unable to find your flow (did you delete it?) - And also have trouble recreating your exact scenario. One thing I noticed is your content type is incorrect - should it be applicatoin/json?
thanks
It is because of the content type as Raj pointed out. If you need to send a "application/x-www-form-urlencoded" payload you will need to send the body like the following:
grant_type=password&username=<url-encoded-username>&...
that should work.
thanks! Can't believe I missed that!
User | Count |
---|---|
89 | |
37 | |
26 | |
13 | |
13 |
User | Count |
---|---|
127 | |
54 | |
38 | |
24 | |
21 |