Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Problem with API calls once published

(1) ShareShare
ReportReport
Posted on by 149
Hi all,
 
I have a flow thats refreshing an access token and storing the details in environment variables - runs every 20 mins - all working okay.
 
Ive had a webhook running perfectly that triggers a flow 'when a http request is received'. next steps in the flow use the info from the web hook to make an api call using the environment variables.
 
in the dev environment this is all working okay. and up until recently it was working once i had deployed to prod
 
now on the production environment the flow is failing at the api call citing token expired - but the same flow is running just fine in the dev environment on the same http request.
 
i know the tokens will be different in each environment  because the refresh flows are running at different times but the api can handle up to 25 simultaneous tokens that expire every 30 minuets so everything should be working fine - infact it was working fine until recently and im not sure why! - any ideas?
 
Thanks,
Dan
Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard