web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error from token excha...
Power Automate
Answered

Error from token exchange: Bad Key authorization token.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I got many error on a approval Flow that first register and then update a SharePoint Online List after the approval.

I read that the limit of the flow was 7 days.

 

Flow start at: Ran at 10/1/2018 17:14:17

Error Message on Update SharePoint List task:

  "message": "Error from token exchange: Bad Key authorization token. Token must be a valid JWT signed with HS256\r\nFailed to validate token: IDX10223: Lifetime validation failed. The token is expired.\nValidTo: '01/11/2018 14:41:22'\nCurrent time: '01/15/2018 14:17:59'.\r\nbad token. Error=The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. \r\n"

Categories:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please share a screenshot of your flow's configuration?

     

    The error message told that there is something issue with the connection to SharePoint connector on your side. The connection to your SharePoint connector is expired, the expired date is '01/11/2018', the error shows your current time is '01/15/2018', so the token is expired. The run time of the flow is different from the current time in error message, I think it is issue which is related to time zone.

     

    I have made a test on my side and don't have the issue that you mentioned. My flow's configuration as below:11.JPG

    The flow works successfully as below:12.JPG

    Please re-create a connection to your SharePoint connector within your flow and check if the issue is solved.

     

    Best regards,

    Kris

     

  • anhthuch4ng Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Have you had a chance to apply @v-xida-msft's recommendations to adapt your Flow?

     

    If yes and you found that solution to be satisfactory, please go ahead and mark this thread as "Solved". 🙂

     

    Happy Flowing!

    -AT (Community Admin)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard