lokalise-common-errors
Installation
SKILL.md
Lokalise Common Errors
Overview
Every Lokalise API error returns a JSON body with a consistent structure. This skill covers the error response format, diagnosis of each HTTP status code (401, 400, 404, 429, 413, 500, 503), diagnostic curl commands for rapid troubleshooting, and a reusable error handling wrapper for the Node SDK.
Prerequisites
curlavailable for diagnostic commands@lokalise/node-apiSDK installed for the error wrapper- API token stored in
LOKALISE_API_TOKENenvironment variable jqinstalled for parsing JSON responses (optional but recommended)
Instructions
1. Understand the Error Response Format
All Lokalise API errors return this structure: