Skip to main content
Since a week or so I suddenly get `INVALID_SESSION_ID: Session expired or invalid` errors when trying to deploy to a sandbox. Around the same time, I suddenly started seeing the line `*** Deploying with REST ***` when running an `sfdx force:source:deploy`.

I never used to see my token expire before. Now I have to daily go and re-auth my org connection.

This seems like a regression. What's going on?
23 answers
  1. Mar 8, 2021, 8:57 PM
    I'm seeing this error running "sfdx force:mdapi:deploy...." command.  Updating to 7.90.2 did not help me either.

     
0/9000