SEMGREP_APP_TOKEN and have confirmed that it is valid, you may still see invalid token errors if both of the following are true:
- Your variable is set as a group variable.
- Your configuration explicitly references
SEMGREP_APP_TOKENin thevariablessection.
SEMGREP_APP_TOKEN from your .gitlab-ci.yml file. For example, the default configuration would look like this after the change: