Problem
The connection between Terraform Enterprise and the VCS provider is broken.
Terraform workspaces connected to the specific VCS provider can not start a run and in Terraform Enterprise logs the following error appears:
2025-04-30 12:34:45 [WARN] ...
msg=Repository no longer has a valid OAuth Token
external_id=vcrepo-12345678 webhook_identifier=12345678
Cause
The OAuth Token used to connect the Terraform Enterprise organization with the VCS provider is no longer valid.
Solution
Follow the Troubleshoot VCS providers documentation about reauthorizing OAuth providers, to renew the connection between Terraform Enterprise organization and the VCS provider