Skip to content

operation._fromAPIResponse is not a function while polling #11

@Ancisuce

Description

@Ancisuce

Description of the bug:

Error polling operation: TypeError: operation._fromAPIResponse is not a function
at async POST (app/api/veo/operation/route.ts:24:18)
22 | // Some SDK versions accept just the name, others expect an operation object.
23 | // We'll pass the minimal required shape with a name.

24 | const fresh = await ai.operations.getVideosOperation({
| ^
25 | operation: {
26 | name,
27 | },
POST /api/veo/operation 500 in 835ms

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions