I'm building a flow that needs to obtain a login token from our Barracuda WAF via API which I do via POST.
This works fine and the Token is received in tact.
I then parse the JSON to make it usable for any next steps.
Still fine.
When i try to use the value of the token that's been parsed it's coming back as null and for the LIFE of me i can't figure out why.
See it's there ^^^
This is how I'm attempting to use that value ^^^
And "poof" it's now gone.
What the fudge y'all?
I've tried initializing it as a variable and setting it that way, and same result, it's null and gone.
Please tell me someone knows what I'm missing or doing wrong.
Thanks in advance
Can you try 2 things to troubleshoot?
Hello, @timalex!
That's very strange, I'll be investigating to see if I find something! In the meantime, could you please try initializing a variable and then checking with a conditional to see if it equals "null"?
Anything I find, I'll post it here right away!
Cheers
Thanks for the suggestion PrasadAthalye,
So I have added a Compose action and mapped it to the JSON Token Property like so:
And then I try and pass that to the HTTP GET like so:
And when I run it, it is now just blank and not even null any longer:
I can't use the hard code option because each time i generate the token it changes.
I appreciate all of the suggestions, thank you!
Thank you rrovira,
So i've initialized and set the variable as below:
I didn't use a conditional, because i can see it's still "null" in the test logs as below:
Thanks again for responding, i appreciate it. There has to be a solution i just can't 'see' it yet 🙂
Can you upload JSON Parse Output?
That's the entirety of the JSON Parse Output.
I also added a condition to check to see if the token value was indeed null and on it's first test run it returned 'true'
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
77 | |
26 | |
20 | |
16 | |
15 |
User | Count |
---|---|
145 | |
44 | |
44 | |
33 | |
30 |