Skip to navigationSkip to main contentSkip to footerScaleway DocsAsk our AI
Ask our AI

Tests fail on Serverless Containers

Problem

I get error messages when testing Serverless Containers using the Scaleway Console.

Cause

Private Serverless Containers require you use an authentication token.

Possible solutions

  • Change the visibility of your function to public. Public containers can be executed anonymously.

  • Make sure you have created an authentication token for your private function, then execute a curl request from a terminal, as shown below:

    export $TOKEN=<YOUR_AUTH_TOKEN>
    curl -H "X-Auth-Token: $TOKEN" \ <YOUR_CONTAINER_ENDPOINT>
Still need help?

Create a support ticket
No Results