Skip to content

[BUG] v0.chats.create 500 internal_server_error #15

@PaulSinghDev

Description

@PaulSinghDev

All of a sudden the SDK has stopped working. When I request a completion with the chat I am getting:

{"success":false,"error":{"type":"internal_server_error","message":"An unexpected error occurred"}}

An example of the code which is causing this:

const response = await v0.chats.create({
      message: "Make a landing page",
    });

Is there a known outage?

EDIT:

I have added a comment explaining that I think this is more of a poor error message than anything else. I swapped out my key for one of the company's pro account keys and it started working again. This leads me to believe that this is an issue with my account's credits or the token usage estimation going over what is left in my allowance?

Either way I think we need to assess the error message which is sent back to the dev so that we can handle it gracefully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions