Payload base URL invalid

Moses SkodaEngineer1 min read

The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/payload-base-url-invalid. See Errors and status codes for the shape every error shares.

The base URL must be the https address of a Payload instance on the public internet, such as https://cms.example.com, and "<baseUrl>" is not. A Worker cannot reach a private network: expose the instance on a public hostname, or put a tunnel in front of it.

Fields#

Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.

FieldType
baseUrlstring

Example#

json
{
  "detail": "The base URL must be the https address of a Payload instance on the public internet, such as https://cms.example.com, and \"<baseUrl>\" is not. A Worker cannot reach a private network: expose the instance on a public hostname, or put a tunnel in front of it.",
  "baseUrl": "<baseUrl>",
  "type": "https://lingo.dev/docs/api/errors/payload-base-url-invalid",
  "status": 422,
  "title": "Payload base URL invalid"
}