[GH-ISSUE #4691] [bug]: wrong hint: unknown identifier fetch #1745

Open
opened 2026-03-16 21:35:57 +03:00 by kerem · 0 comments
Owner

Originally created by @valentin78 on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4691

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

when I use browser api function, like fetch, getting error hint: fetch unknown identifier fetch
please advise how can I avoid it or it has to be fixed

Steps to reproduce

create pre-request script
add this
fetch('').then()

Environment

Production

Version

Cloud

Originally created by @valentin78 on GitHub (Jan 23, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4691 ### Is there an existing issue for this? - [x] I have searched the existing issues ### Current behavior when I use browser api function, like fetch, getting error hint: fetch unknown identifier fetch please advise how can I avoid it or it has to be fixed ### Steps to reproduce create pre-request script add this `fetch('').then()` ### Environment Production ### Version Cloud
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1745
No description provided.