Invalid session id
Detection
- String:
INVALID_SESSION_ID - Applies to: component errors, deployment errors
Examples
INVALID_SESSION_ID: Session expired or invalid
Resolution
The session to the target org expired or was revoked.
- Locally, run "Select another org" from the Status panel of VS Code (or sf hardis:org:select)
- In CI/CD, configure the authentication of the branch again with sf hardis:project:configure:auth, and check that the deployment user is still active