-
Notifications
You must be signed in to change notification settings - Fork 197
[X007] Unauthorized / 503 Service Unavailable when scanning --skills in EU region (api.eu.snyk.io) #247
Copy link
Copy link
Open
Description
When attempting to run snyk-agent-scan on a machine located in Europe using a Snyk EU Enterprise account, the scanner fails to authenticate or reach the analysis server for agent skills, even when SNYK_TOKEN and SNYK_API (or --base-url) are correctly configured.
To Reproduce
Set environment variables for EU region:
$env:SNYK_TOKEN = "eu-api-token"
$env:SNYK_API = "https://api.eu.snyk.io"
Run the scan on a local directory containing skills:
uvx snyk-agent-scan@latest scan --skills .\.github\skills\
See error:
Initial attempt (without explicit API env): [X007 info]: Could not reach analysis server: 503 - Service Unavailable
With SNYK_API set: [X007 info]: Unauthorized. Please check your SNYK_TOKEN environment variable or your push key.
uvx snyk-agent-scan@latest scan --skills .\.github\skills\
Snyk Agent Scan v0.4.10
● Scanning .github/skills found 25 skills
│
├── arch-decisions
│ ● [X007 info]: Unauthorized. Please check your SNYK_TOKEN environment variable or your push key.
│ ├── instructionSKILL.md
├── archunit
│ ● [X007 info]: Unauthorized. Please check your SNYK_TOKEN environment variable or your push key.
│ ├── instructionSKILL.md
Environment:
OS: Windows 11 (PowerShell)
Snyk Agent Scan Version: v0.4.10
Installation Method: uvx
Snyk Region: EU (app.eu.snyk.io)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels