I expected this response to trigger an Error
Server Event, but instead, it completed with a response.done
status.
Received responses:
{
"type": "conversation.item.created",
"event_id": "event_AQC6p7lVXVJOZ4DRMhHkw",
"previous_item_id": null,
"item": {
"id": "item_AQC6oFMe6MOh1qW9HPcaG",
"object": "realtime.item",
"type": "message",
"status": "completed",
"role": "user",
"content": [
{
"type": "input_audio",
"transcript": null
}
]
}
}
{
"type": "response.created",
"event_id": "event_AQC6pOZ7rlXRw8oRS9FgG",
"response": {
"object": "realtime.response",
"id": "resp_AQC6pivbvYN0Tm4d7D9z0",
"status": "in_progress",
"status_details": null,
"output": [],
"usage": null
}
}
{
"type": "response.done",
"event_id": "event_AQC6pFHc3OoQMCELOXz7k",
"response": {
"object": "realtime.response",
"id": "resp_AQC6pivbvYN0Tm4d7D9z0",
"status": "failed",
"status_details": {
"type": "failed",
"error": {
"type": "insufficient_quota",
"code": "insufficient_quota",
"message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors."
}
},
"output": [],
"usage": {
"total_tokens": 0,
"input_tokens": 0,
"output_tokens": 0,
"input_token_details": {
"text_tokens": 0,
"audio_tokens": 0,
"cached_tokens": 0,
"cached_tokens_details": {
"text_tokens": 0,
"audio_tokens": 0
}
},
"output_token_details": {
"text_tokens": 0,
"audio_tokens": 0
}
}
}
}