cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
forstera
Helper III
Helper III

Null value returned when using a variable but content is not null

Hello all,

I'm very new in PowerAutomate and I've a behaviour I don't understand.

 

I'm working with Rest API for an application we use to manage our students and I need an token access before any request.

I can receive it but when I'm trying to use it again for my query the sent value is null ! 

 

Here's what I receive when resquesting my token :

forstera_2-1623404192894.png

 

So I can suppose that my variables "access_token" and "token_type" are not null

then, in next step I'm sendind a request like this : 

forstera_3-1623404310038.png

 

So i dont understand why here above token_type and access_token are null

 

forstera_1-1623404133908.png

Per advance, thanks to all for your help 🙂

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
forstera
Helper III
Helper III

Hello all,

I solved the problem. It seemed there was an error in the definition of the schema.

Everything's fine now 🙂

Thanks to all for your help

 

View solution in original post

3 REPLIES 3
rrovira
Microsoft
Microsoft

Hello, @forstera

That's very strange indeed! I'd like to try something first, could you create two variables and store the data there? This might work, but in any case, I'll be investigating to see if I find a more reliable solution! 

 

Cheers!

@rrovira 

Hello and Thanks for your help 🙂

So I made a test adding a variable but the result is the same ; a null value is stored inside it : 

 

forstera_0-1623420167673.pngforstera_1-1623420191192.png

Result :

Anyway, thanks for your help 🙂

 

forstera
Helper III
Helper III

Hello all,

I solved the problem. It seemed there was an error in the definition of the schema.

Everything's fine now 🙂

Thanks to all for your help

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,291)