# Troubleshooting

If you're having trouble accessing the Select Star API, please check the list of possible issues below. Also feel free to contact us in our [community Slack channel](https://selectstarcommunity.slack.com).

### Unauthorized access

If your request receives a `401 Unauthorized` error, please check:

* you've created an API token and are sending it in the header of the request.
* you're using `Token` in the authorization header, and not `Bearer`.

Please also check [API Token](/select-star-api/authentication.md) for more details of the authorization process.

### Passing API Parameters

When passing API parameters for a POST or PATCH request, using `params` for the request body may lead to unexpected results. For POST and PATCH requests, it is recommended to use `data` instead of `params` to ensure correct handling of the request body.


---

# 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.selectstar.com/select-star-api/troubleshooting.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.
