
anyscale
#10007
validation_error
Validation failed: The current system does not support n>1. Refer to the documentation or support for more details.
This error has been identified and solved.
Reason
The 400 status error you are seeing in the Anyscale API is indicative of a client error with the request. Here are the key reasons why this might be happening:
Invalid Request: The request body or query parameters may be malformed or contain invalid values. This could include extra fields that are not permitted or other validation errors.
Specific Constraint Violation: In your case, the error message
n>1 is not supported yet in aviary
suggests that the request is violating a specific constraint or limitation of the API, where the parametern
cannot be greater than 1 for the current implementation.Request Exceeding Limits: Similar issues can arise when the request exceeds certain limits set by the API, such as maximum input length or response size, although this specific error does not seem to be related to those limits.
Solution
To fix the 400 status error in the Anyscale API, you need to ensure that your request complies with the API's specifications and constraints. Here are some steps to take:
Review the request body and query parameters to ensure they are correctly formatted and do not contain any extra or invalid fields.
Check that the values provided for parameters like
n
adhere to the supported limits and constraints.Refer to the Anyscale API documentation for specific guidelines on supported parameters and their valid ranges.
Key actions:
Correct any malformed or invalid request data.
Ensure
n
is set to a supported value (in this case,n <= 1
).Verify that the request does not exceed any specified limits.