Errors and troubleshooting
Vmake Labs API errors come from three layers: HTTP, platform business codes (meta.code), and task status (data.status / data.msg). Find the layer first, then look at the details.
1. HTTP
2. Platform business codes (WAPI)
The APIs on wapi-skill.vmake.ai (config and consume) all return:
code=0means success. Otherwise seemsg.
Common cases (the server defines the exact codes):
3. Task status
The task APIs (/ai/task_push, /ai/task_query) return:
If a task fails, the quota deducted for that task is returned to your account.
4. OSS upload
5. SSL
On some macOS setups and older images, the certifi bundle used by Python requests cannot verify the intermediate certificate of the API hosts. The error is SSLError: certificate verify failed.
- First choice:
pip install -U certifi. - Alternative:
pip install truststoreand calltruststore.inject_into_ssl()at startup (Python 3.10 or later).
6. Python SDK and CLI errors
The CLI prints a JSON object with an error field and exits with 1. In Python, the same failures raise exceptions.
7. Contact support
Include these values when you report a problem. They do not contain your keys.
meta.reqidfrom the config or quota response.task_idandtrace_idfrom the task response, if you have them.- The tool ID, the time of the request in UTC, and the full
data.msg.
8. Troubleshooting checklist
- Capture the request. Get the request and response from your HTTP client or gateway, and redact secrets before sharing.
- Find the layer. Check the HTTP status, then
meta.code, thendata.status. - Compare signatures. If the signature is wrong, diff
CanonicalRequestandStringToSignfirst. - Check the clock. A skew between
X-Sdk-Dateand server time outside the window results in a 401. - Narrow it down. Keep a minimal reproducible case (fixed media, fixed
material_id, fixed parameters).