SERVER_CODE_NOT_ALLOWED
Server code or build configuration is not allowed.
- HTTP class: 422
- Retryable: no
What happened
A file is server code, framework source or build configuration, which a static host never runs.
Fix
Run the project's build and send only its output folder (for example dist/); the frameworks page names each framework's folder.
What to tell the user
Carnival hosts static files only: a site that needs a server (logins, stored form data, payments) can't run on it.
Agent hint
The exact error.hint text; Carnival fills each <…> for the call.
<path> is server code or build config. Run the build and send only its output folder (for example dist/).
Related
DISALLOWED_FILE_TYPE: This file type is not allowed.MISSING_INDEX_HTML: index.html is missing.
All error codes: error codes