Skip to content

Commit 8e6f4be

Browse files
committed
docs(srv): update
1 parent b4d3654 commit 8e6f4be

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

serverless/functions/troubleshooting/tests-fail-on-private-function.mdx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ content:
88
tags: serverless functions private troubleshooting issue error test authentication token unable
99
dates:
1010
validation: 2025-01-14
11-
posted: 2024-01-14
11+
posted: 2025-01-14
1212
categories:
1313
- serverless
1414
---
@@ -19,12 +19,8 @@ I get error messages when testing private Serverless Functions using the Scalewa
1919

2020
### Cause
2121

22-
This issue can happen for the following reasons:
23-
24-
- You have created too many Serverless Functions namespaces and reached [your account's quota](/identity-and-access-management/organizations-and-projects/additional-content/organization-quotas/#serverless-functions).
25-
26-
- You have created too many Registry namespaces and reached [your account's quota](/identity-and-access-management/organizations-and-projects/additional-content/organization-quotas/#container-registry).
22+
[Private](/serverless/functions/concepts/#privacy-policy) functions require a `X-Auth-Token` HTTP header when being run or tested.
2723

2824
### Possible solutions
2925

30-
Make sure that you have not exceeded the maximum number of allowed namespaces with the [Scaleway console](https://console.scaleway.com/) or with the [API](https://www.scaleway.com/en/developers/api/serverless-functions/#path-namespaces-list-all-your-namespaces).
26+
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).

0 commit comments

Comments
 (0)