Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(srv): add troubleshooting on testing private resources MTA-5424 #4211

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

SamyOubouaziz
Copy link
Collaborator

Your checklist for this pull request

Description

Please describe what you added or changed.

@SamyOubouaziz SamyOubouaziz added priority: low Maintenance PRs that are not critical. status: doc review Waiting for doc team review do not merge PR that shouldn't be merged before a specific date (eg release) labels Jan 14, 2025

### Possible solutions

Make sure that you have [created an authentication token](/serverless/functions/how-to/create-auth-token-from-console/) from the Scaleway console, and passed it as a HTTP header while [testing your function](/serverless/functions/how-to/test-a-function).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Make sure that you have [created an authentication token](/serverless/functions/how-to/create-auth-token-from-console/) from the Scaleway console, and passed it as a HTTP header while [testing your function](/serverless/functions/how-to/test-a-function).
Make sure that you have [created an authentication token](/serverless/functions/how-to/create-auth-token-from-console/) from the Scaleway console, and passed it as an HTTP header while [testing your function](/serverless/functions/how-to/test-a-function).


### Cause

[Private](/serverless/functions/concepts/#privacy-policy) functions require a `X-Auth-Token` HTTP header when being run or tested.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[Private](/serverless/functions/concepts/#privacy-policy) functions require a `X-Auth-Token` HTTP header when being run or tested.
[Private](/serverless/functions/concepts/#privacy-policy) functions require an `X-Auth-Token` HTTP header when being run or tested.


### Possible solutions

Make sure that you have [created an authentication token](/serverless/containers/how-to/create-auth-token-from-console/) from the Scaleway console, and passed it as a HTTP header while [testing your container](/serverless/containers/how-to/test-a-container).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Make sure that you have [created an authentication token](/serverless/containers/how-to/create-auth-token-from-console/) from the Scaleway console, and passed it as a HTTP header while [testing your container](/serverless/containers/how-to/test-a-container).
Make sure that you have [created an authentication token](/serverless/containers/how-to/create-auth-token-from-console/) from the Scaleway console, and passed it as an HTTP header while [testing your container](/serverless/containers/how-to/test-a-container).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge PR that shouldn't be merged before a specific date (eg release) priority: low Maintenance PRs that are not critical. status: doc review Waiting for doc team review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants