parameter_invalid
Invalid parameter. A parameter has a value this endpoint or model does not accept.
| HTTP status | 422 |
| Type | invalid_request_error |
| Code | parameter_invalid |
| Can retrying help? | No. The same request gets the same answer until you change it or fix the cause. |
| Charged? | No. This refusal is free. |
What to do
Section titled “What to do”Fix the parameter named in param; message gives the accepted values.
Example
Section titled “Example”{ "error": { "type": "invalid_request_error", "code": "parameter_invalid", "message": "A parameter has a value this endpoint or model does not accept.", "param": "input.duration", "doc_url": "https://docs.halationlab.ai/errors/parameter-invalid/", "request_id": "req_01JD3Y5RJ6M3XW6J8K2N4P7Q9T" }}Returned by
Section titled “Returned by”GET /v1/models: List modelsPOST /v1/quotes: Get a quotePOST /v1/generations: Start a generationPOST /v1/projects: Create a projectPATCH /v1/projects/{id}: Update a projectPOST /v1/assets: Import a filePOST /v1/assets/{id}/transform: Transform an assetPOST /v1/uploads: Start an uploadPOST /v1/uploads/{id}/complete: Complete an uploadPOST /v1/webhook_endpoints: Create a webhook endpointGET /v1/events: List events
See Errors for the error shape and how to handle errors in general, and Billing outcomes for what every outcome costs.