- Documentation
- Vigil Compiler
- Guide
- Errors, diagnostics and FAQ
Errors, diagnostics and FAQ
If your upload was rejected during preflight or a build failed, use this reference to diagnose and fix the cause.
Error categories
Section titled “Error categories”| Category | Typical cause | Resolution |
|---|---|---|
| Invalid upload | Non-ZIP file, exceeds plan size limit, contains symlinks, or includes blocked extensions (.exe, .sh, .dll, etc.). |
Package only MTA:SA resource files into a clean .zip archive within your plan size limit. |
| Invalid resource structure | Missing meta.xml, malformed XML, DOCTYPE/ENTITY declarations, or a script declared in meta.xml is missing from the archive. |
Validate meta.xml and ensure every src entry matches the exact relative path in the ZIP. |
| Unsupported Lua API or syntax | Blocked APIs (loadstring, debug, io, os.execute, string.dump, mutable _G) or non-Lua 5.1 syntax (e.g., Lua 5.2 goto). |
Remove disallowed dynamic APIs and ensure strict Lua 5.1 compatibility. |
| Compilation error | Syntax error in a .lua file detected during compilation. |
Fix the reported file and line in the build error log and re-upload. |
| Quota or concurrency limit | Monthly build quota or concurrent job limit reached. | Wait for active jobs to finish or review Plans & credits. |
| Worker timeout / failure | Build exceeded the maximum worker execution time. | Retry the build; if the issue persists, split overly large resources or contact support with your Build ID. |
Frequently asked questions (FAQ)
Section titled “Frequently asked questions (FAQ)”Does Vigil Compiler execute my Lua code during builds?
Section titled “Does Vigil Compiler execute my Lua code during builds?”No. Customer scripts are only analyzed statically and compiled inside an isolated worker; uploaded code is never executed.
Are original .lua files included in the output package?
Section titled “Are original .lua files included in the output package?”No. The VERIFYING stage automatically fails the build if any unprotected original .lua file is found in the output artifact.
What should I include when contacting support?
Section titled “What should I include when contacting support?”Include your Build ID, the error category/message displayed on /builds/[id], and whether the affected script is server, client, or shared.