"success": false. What’s under error takes one of two shapes, depending on where the request failed.
Platform-level errors
Failures in authentication, credits, rate limiting, or an unrecognized route come from shared middleware that runs before any tool-specific code, and return a structured object with a stablecode you can match on in your own error handling:
A stable, machine-readable identifier. Safe to switch on.
A human-readable explanation. Safe to show a user, not guaranteed to stay word-for-word identical between API versions.
Endpoint-level errors
Validation and execution failures inside an individual tool (a missingurl, an unreachable target, a malformed upload) return error as a plain string instead:
Status codes
Error code reference
Retrying
Calling through the website’s own proxy at
pocketutils.com/api/v1 (instead of api.pocketutils.com directly) adds one more possible failure: a 502 with { "success": false, "error": "Proxy Service Error", "message": "...", "details": "..." } if the proxy itself can’t reach the API. Direct integrations against api.pocketutils.com never see this shape.Authentication
Avoid
401 errors before they happen.Rate Limits & Credits
Avoid
429 and 402 errors before they happen.