Check these first
- Confirm that your tool uses the AsterWise URL shown in its setup guide.
- Check that your API key is active and was copied in full.
- Check your balance in the app.
- Use
aster-codeoraster-workas the model name.
Common problems
Common error codes
Read
error.type to identify the error. The examples here cover AsterWise gateway errors; proxy errors and malformed requests can use a different format.
provider_empty_response
An aster-work request ended without an answer and without the usage information needed to account for it. The failed request is not charged. AsterWise returns this error instead of leaving the request waiting for usage information.
With reasoning enabled, a small output-token allowance can be used up before an answer is produced. Reasoning and the visible answer share the output allowance. This is one possible cause of the error, not proof that every affected request has too small a limit.
Try one of these changes before submitting the request again:
- Increase the output-token limit within Aster Work’s supported limit. For Chat Completions, use
max_completion_tokens(ormax_tokens, but not both); for Responses, usemax_output_tokens; for Messages, usemax_tokens. - Choose a lower supported reasoning effort. For example, change Chat Completions
reasoning_effortfromhightolow. See reasoning controls for each endpoint.
x-request-id response header or the matching request_id in the error body.
For streaming requests, HTTP headers may already show 200. Read the stream for an error payload and closure rather than treating HTTP 200 as success. Chat Completions sends the error JSON in an SSE data: frame; Messages and Responses also name the event error. This failure ends the stream without a success terminal. AsterWise does not automatically retry this error; your SDK or tool may have its own retry settings.
A valid token-limit completion with reliable usage is different: Chat Completions can return finish_reason: "length" and usage, even if the visible answer is empty. That completed request is billed for its recorded usage and does not use this error code.