Common errors encountered while using Serverless Jobs
Job run is in an error state
Possible solutions
-
Make sure you built your image for an
amd64
architecture, asarm64
is not supported. See Architecture documentation. -
Make sure your deployment does not exceed the limitations of Serverless Jobs.
Issues when retrieving an external image
Cause
Serverless products support external public registries (such as Docker Hub), but we do not recommend using them due to uncontrolled rate limiting, which can lead to failures when starting resources, unexpected usage conditions, and pricing changes.
Solution
We recommend using Scaleway’s Container Registry instead, as it allows for a seamless integration with Serverless Containers and Jobs at a competitive price.
My environment variable or secret is not properly injected in my job
Cause
Environment variables or secrets that are too large, contain carriage returns and spread over several lines, as shown below, will not be injected properly.
"helloworld."
Solution
To avoid issues while injecting environment variables and secrets, we recommend encoding them to base64
.