mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5198] [bug]: Code snippet fails to generate #1981
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1981
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dungmv on GitHub (Jun 26, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5198
Originally assigned to: @nivedin on GitHub.
Is there an existing issue for this?
Platform
Desktop App
Browser
Chrome
Operating System
macOS
Bug Description
When the environment's current value is empty, the tab code snippet fails to generate the curl command and displays the error message: "Something went wrong."
Deployment Type
Hoppscotch Cloud
Version
No response
@kspoojith commented on GitHub (Jun 26, 2025):
Hi! I’m new to contributing here — may I work on fixing the code snippet generation when the environment variable is empty?
@liyasthomas commented on GitHub (Jun 26, 2025):
@kspoojith, you can try this: ideally, two cases need to be resolved:
@jamesgeorge007 commented on GitHub (Jul 16, 2025):
Hi, closing this issue since it's addressed in the latest release.