| -32700 |
Parse error |
Server received malformed or unparseable JSON payload in request body. |
Verify that your request payload is valid JSON without trailing commas or unescaped control characters. |
| -32600 |
Invalid Request |
Payload does not follow JSON-RPC 2.0 specification (missing jsonrpc, method, or id). |
Ensure payload contains "jsonrpc": "2.0", a valid "method" name, and an "id". |
| -32601 |
Method not found |
Requested RPC method does not exist or has a typographical error. |
Confirm method name spelling against the sidebar reference (e.g. PirsonalAPI.Template_Video_New). |
| -32602 |
Invalid params |
Parameter name, type mismatch, or unexpected property violates pir_api_v3.json. |
Check parameters against the IDL documentation. In Barrister RPC, unexpected additional fields are strictly rejected. |
| -32603 |
Internal JSON-RPC error |
Internal serialization or protocol dispatch error on the API server. |
Ensure the request body is UTF-8 encoded and check server logs. Contact support if persistent. |
| -32001 |
Invalid response contract |
Server returned fields not declared in the Barrister IDL return type. |
Indicates an API contract synchronization issue. Contact developer support or review pir_api_v3.idl. |
| 1000 |
Template not found |
The specified templateID does not exist or does not belong to your account. |
Call Template_List to verify your valid template IDs and confirm your active account credentials. |
| 1003 |
Inputs not allowed |
Supplied dynamic inputs to a static template that has no declared input placeholders. |
Verify that the template has dynamic input placeholders declared or check that you targeted the right template. |
| 1004 |
Inputs mismatch |
The inputIDs supplied in inputMedias do not match placeholders declared in the script. |
Ensure every inputID in your request payload matches an exact placeholder defined in the template script. |
| 1005 |
Bad script |
Pirsonal Script JSON contains a syntax error or cyclic dependency in its timeline graph. |
Validate the script using the Script Linter on the Pirsonal Script page to detect cycles. |
| 1009 |
No scripts |
The targeted template has no Pirsonal Script timeline attached. |
Attach a valid Pirsonal Script to the template before triggering video generation. |
| 1028 |
Template inactive |
The template has been marked as inactive and cannot render new videos. |
Call Template_SetStatus with "active" to reactivate the template. |
| 2003 |
Too much free objects |
Template exceeds the allowed number of dynamic freeform objects for your plan. |
Optimize your template layers or upgrade your subscription tier in the Pirsonal dashboard. |
| 2005 |
Variables mismatch / Limit |
Missing dynamic variables or maximum allowed templates reached for account. |
Ensure all $variable placeholders are defined or upgrade account template quota. |
| 1001 |
Media not found |
The specified mediaID does not exist in your account library. |
Call Media_List to view your valid media asset IDs or upload the asset via /api/upload. |
| 1002 |
MediaID not found in scripts |
A media ID referenced in template inputs was not found in the timeline script. |
Verify that the script references the correct media placeholder ID. |
| 1008 |
Media in use in templates |
Cannot delete media asset because it is currently linked in active templates. |
Unlink the asset from active templates before calling Media_Delete. |
| 1011 |
Error downloading medias |
Rendering engine failed to download an external media URL (404, DNS, timeout, or SSL). |
Ensure all external media URLs in inputMedias are publicly accessible via HTTPS and respond with HTTP 200. |
| 1019 |
No size specified |
Binary media upload is missing the mandatory Content-Length header. |
Ensure your client supplies the Content-Length header during binary upload to /api/upload. |
| 1020 |
Invalid Content-Type |
MIME type of uploaded binary asset is unsupported. |
Supported MIME types: video/mp4, image/jpeg, image/png, audio/mpeg, font/ttf. |
| 1029 |
Bad input media |
An item in inputMedias has invalid structure or an unsupported media source. |
Verify that each inputMedia object contains valid inputID, type, and text or http. |
| 2001 |
Media storage limit reached |
Your account has exhausted its allotted media asset storage capacity. |
Delete obsolete assets with Media_Delete or upgrade your subscription tier. |
| 1006 |
Video file not found |
Rendered video file was purged or could not be retrieved from cloud storage. |
Video may have expired under retention policy. Re-render via Template_Video_New. |
| 1007 |
Video not found |
The specified videoID does not exist in your account. |
Verify the 24-character hexadecimal video ID returned when the video was created. |
| 1012 |
Error processing video |
The video rendering engine encountered an internal composition or codec failure. |
Inspect input media dimensions and codecs; check that audio bitrates and video framerates are standard. |
| 1030 |
Error deleting video files |
Storage cluster failed to remove output video files. |
Retry deletion request or contact Pirsonal technical support. |
| 2000 |
Video storage limit reached |
Your account has reached its total video storage capacity. |
Purge older videos via Video_Delete or upgrade your storage tier in the dashboard. |
| 2002 |
Video profile not allowed |
The requested output profile/resolution is not permitted under your current subscription tier. |
Check your plan features (e.g. 1080p, 4K rendering profiles). |
| 2004 |
No credit / Plan upgrade required |
Your account has exhausted video generation rendering credits. |
Refill credits in your Pirsonal dashboard or upgrade your billing tier. |
| 2006 |
Invalid CTA start time |
Interactive player CTA start time cannot be empty or negative. |
Specify a valid non-negative integer for playerInfo.cta.startTime in seconds. |
| 2007 |
Invalid CTA form fields / Conflicting time |
Interactive CTA form has zero fields or multiple elements share identical start/end times. |
Ensure at least one field is defined and eliminate overlapping element start/end timestamps. |
| 1010 |
Account not found |
The supplied Account ID does not exist. |
Verify the Account ID in your Pirsonal dashboard under Settings > API Keys. |
| 1015 |
Authentication error |
Missing or invalid Account ID or Secret Key. |
Check accountID and accountSecret URL query parameters. |
| 1016 |
Email already used |
The specified email address is already registered to an account. |
Use a different email address or log in to the existing account. |
| 1017 |
Bad password |
Authentication failed due to incorrect password credentials. |
Reset your password via the account recovery portal. |
| 1018 |
Bad secret |
The provided Account Secret does not match the Account ID. |
Copy the active Secret Key from your dashboard or rotate keys via automated CLI tooling. |
| 1021 |
Account not active |
Your account has been paused, suspended, or has an unpaid invoice. |
Check billing status in the dashboard or reach out to billing support. |
| 1025 |
Account type not found |
Account tier configuration is unmapped or corrupted. |
Contact support@pirsonal.com to re-synchronize account profile. |
| 1026 |
Payment client error |
Payment gateway rejected subscription transaction. |
Update credit card payment details in billing settings. |
| 1027 |
Payment mismatch |
Transaction amount mismatch between checkout session and subscription tier. |
Refresh the billing checkout page and retry. |
| 1032 |
Custom profiles not allowed |
Account does not permit custom encoding profiles or duplicated profile name. |
Upgrade subscription tier or choose unique profile names. |
| 1033 |
Account locked (wrong attempts) |
Account locked after repeated failed login attempts. |
Wait 15 minutes before retrying or use password recovery. |
| 1034 |
Account deactivated (inactivity) |
Free tier account was paused due to extended inactivity (6+ months). |
Log in to the Pirsonal web dashboard to automatically reactivate or contact help@pirsonal.com. |
| 1060 |
Font not found |
Referenced font name does not exist in the font library. |
Check the Font Library for valid public font family names. |
| 1061 |
Invalid font format |
Uploaded font file is not TrueType (.ttf) format. |
Only TrueType (.ttf) font files are supported. Convert .otf or .woff before uploading. |
| 1062 |
Font in use in templates |
Cannot delete font because it is referenced in active templates. |
Remove font references from templates prior to deletion. |
| 1070 |
AI Voiceover synthesis error |
Text-to-Speech (TTS) synthesis provider returned a failure. |
Verify TTS voice code, speed rate, and text length; ensure input text does not contain unsupported characters. |
| 5000 |
Internal Error |
Unexpected server exception during request processing. |
Verify request structure and retry; if error persists, contact support@pirsonal.com with your request ID. |