Skip to content

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.

Fix the parameter named in param; message gives the accepted values.

{
"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"
}
}
  • GET /v1/models: List models
  • POST /v1/quotes: Get a quote
  • POST /v1/generations: Start a generation
  • POST /v1/projects: Create a project
  • PATCH /v1/projects/{id}: Update a project
  • POST /v1/assets: Import a file
  • POST /v1/assets/{id}/transform: Transform an asset
  • POST /v1/uploads: Start an upload
  • POST /v1/uploads/{id}/complete: Complete an upload
  • POST /v1/webhook_endpoints: Create a webhook endpoint
  • GET /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.