Skip to content

API integration not working (CORS issue?) #1671

@danpreiss

Description

@danpreiss

Describe the bug

I have spent the better part of two days and millions of tokens trying to resolve this issue. I noticed today that a new feature was released around Request Relay that I would think have solved this issue for me but alas no success. I am trying to implement this API, which works when I run in the console but continue to receive errors when I have Bolt implement in the react app. I've even tried corsproxy.io.

https://supadata.ai/en/documentation/youtube/get-transcript

Link to the blitz that caused the error

https://bolt.new/~/sb1-p8cny9tv

Steps to reproduce

  1. Go to Tester in the left nav
  2. Click run test
  3. View console

Note: I did not try locally but this seems like a webcontainer issue

Expected behavior

Should fetch the youtube transcript

Parity with Local

Screenshots

image

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

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