I'm essentially trying to build a flow that automates HTTP requests to Marketing Cloud. I was able to build an HTTP request to get a token from Marketing Cloud and then subsequently parse the incoming payload. I'm able to isolate the token as dynamic content. However, when I make the next HTTP request (with said token in the header) I get an Unauthorized error. I don't know how that's possible when I'm calling out the token in the header. I also tried putting the token in the Raw and Custom Value Authorization drop-down types within the HTTP request, still no dice.
Thanks!
Solved! Go to Solution.
Hi @cm13
Thanks for your reply. Have you got a space after the Bearer? If not add a space between the Bearer and Dynamic mapping.
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsHi @cm13
Could you test the same token with Postman?
https://www.postman.com/downloads/
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsI've been using the requests in Postman for months now, so I know that they work in Postman. For some reason, I can get the token in the flow, but the next request fails
Hi @cm13
Thanks for your reply. Have you got a space after the Bearer? If not add a space between the Bearer and Dynamic mapping.
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsYep, that fixed it! Thanks so much!
hello,
could you please describe the code which is in your Get test Token HTTP action and the json you are using just after ?
I am facing the same issue with a token which is expiring after 1h, and believe that your approach would fix my problem.
Thanks
Bertrand
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
32 | |
15 | |
14 | |
13 | |
7 |
User | Count |
---|---|
39 | |
23 | |
14 | |
10 | |
7 |