# Server returned HTTP response code 403 for URL

Check the endpoint URL and the authentication information.

Most likely the API URL or the token is not ok. They need to use <https://api.snyk.io> without `/api` . For other tenants, the situation is similar: the path `/api` is not supported on the `api` subdomain.

Even if the URL may have worked before, the URL is invalid and must be changed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.snyk.io/developer-tools/snyk-ide-plugins-and-extensions/troubleshooting-ides/server-returned-http-response-code-403-for-url.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
