Forum Discussion

rbutgins21's avatar
rbutgins21
Brass Contributor
Mar 18, 2023

Error on trigger When new item is created

I have a power automate flow that has been running for a few years now and it all of a sudden is getting the following error:

Error from token exchange: Bad Key authorization token. Token must be a valid JWT signed with HS256
Failed to validate token: IDX10249: X509SecurityKey validation failed. The associated certificate has expired. ValidTo (UTC): 'System.DateTime', Current time (UTC): 'System.DateTime'.

 

 

Any suggestions as to why this is happening?

 

Thanks!

  • rbutgins21's avatar
    rbutgins21
    Brass Contributor
    Got it figured out. Had to export the flow and then import with a new name. Restored the connection.
    • PP_Matt's avatar
      PP_Matt
      Copper Contributor
      Export then re-import worked for me as well. Make sure you update any downstream usages of the flow (i.e. Power BI or Power Apps) to point to the new name.

Resources