Skip to content

Improve response for errors #11

@timfong888

Description

@timfong888

This is what I am seeing as the response in Pipedream from the get-transcript API:

Headers:

{"date":"Wed, 09 Jul 2025 00:57:49 GMT","server":"Fly/3a6a7c27e (2025-07-07)","content-length":"48865","content-type":"application/json","via":"1.1 fly.io, 1.1 fly.io","fly-request-id":"01JZPB0PQ7JQ5M3F89R6J63JER-iad"}

There's no status in the header.

The body also doesn't contain any error information when there's an error.

Review the code and tell me what's involved to respond with status, error message, the associated compaction_id and video_id for the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions