Forum Discussion

dbeavon3's avatar
dbeavon3
Memorable Member
1 year ago
Solved

Strange pyspark notebook failure - The Code_Verifier does not match the code_challenge

Can someone please provide an English translation of the following message in a Fabric Spark UI.   Description: AADSTS501481: The Code_Verifier does not match the code_challenge supplied in the auth...
  • govindarajan_d's avatar
    1 year ago

    Hi dbeavon3 ,

     

    AADSTS501481 - Errors starting with AADTS - usually mean something to do with Microsoft Entra ID. Most likely your token which is being used with the user ID, is not working anymore for some reason. 

     

    We had a similar issue with D365 Link to Fabric, where an account which was used to create the link had a device removed from its list of devices in Entra ID and out of nowhere we started getting a similar issue which stated the token is not valid. We created a MS ticket and they helped us in solving that.

     

    You can try pausing your capacity and starting it again to see if it helps in resetting the token. If not, I advise you to create a MS ticket.