Documentation Index
Fetch the complete documentation index at: https://docs.routeway.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Even the best APIs return errors when something needs your attention—like a missing key or a typo in your request. Knowing how to interpret and handle these responses helps you build resilient, user-friendly applications. Why care? Proper error handling means less downtime, better user experience, and easier debugging.Most errors are easy to fix once you know what they mean. This page shows you how.
Example Error Response
Quick Start
How to catch and handle errors in your code:- Node.js
- Python
- cURL
Common Pitfalls
Missing API Key
Double-check your
Routeway_API_KEY is set and included in every request.Rate Limits
Too many requests? You may hit a 429 error. Add retry logic and check your usage.
Wrong Endpoint
A 404 error usually means a typo in your URL or using the wrong HTTP method.
Model Support
Some models don’t support function calling. Check model capabilities before using advanced features.