[GH-ISSUE #4008] [bug]: Selfhosted Generate Code ist Broken #1413

Closed
opened 2026-03-16 20:14:54 +03:00 by kerem · 3 comments
Owner

Originally created by @RaHehl on GitHub (Apr 25, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4008

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When i select generate code to see the request including headers that should be send it shows an error message "something went wrong"

image

and i get this in the browser console:

image

we are using 2024.3.1 selfhosted

Steps to reproduce

Click generate Code and you get the error

Environment

Production

Version

Self-hosted

Originally created by @RaHehl on GitHub (Apr 25, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4008 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When i select generate code to see the request including headers that should be send it shows an error message "something went wrong" ![image](https://github.com/hoppscotch/hoppscotch/assets/7577984/f290a091-7488-4a1b-b34b-e8f40fec7638) and i get this in the browser console: ![image](https://github.com/hoppscotch/hoppscotch/assets/7577984/7f7d8677-692c-4999-a123-c13919ea58f6) we are using 2024.3.1 selfhosted ### Steps to reproduce Click generate Code and you get the error ### Environment Production ### Version Self-hosted
kerem 2026-03-16 20:14:54 +03:00
Author
Owner

@amk-dev commented on GitHub (Apr 25, 2024):

Hey can you give me a sample request to reproduce this behaviour. you can use hoppscotch export to get the request. usually errors like this can happen due to invalid data, can you check if your headers/json request contains any malformed data.

<!-- gh-comment-id:2077269806 --> @amk-dev commented on GitHub (Apr 25, 2024): Hey can you give me a sample request to reproduce this behaviour. you can use hoppscotch export to get the request. usually errors like this can happen due to invalid data, can you check if your headers/json request contains any malformed data.
Author
Owner

@RaHehl commented on GitHub (Apr 25, 2024):

@amk-dev this happens in my case even with https://echo.hoppscotch.io in incognito mode without login

<!-- gh-comment-id:2077293882 --> @RaHehl commented on GitHub (Apr 25, 2024): @amk-dev this happens in my case even with https://echo.hoppscotch.io in incognito mode without login
Author
Owner

@liyasthomas commented on GitHub (May 11, 2024):

Thanks for your patience and valuable feedback. This issue has been resolved in the latest release.

Closing this ticket as the fix is now available in the recent version. Please feel free to reach out if you have any other concerns.

<!-- gh-comment-id:2105611058 --> @liyasthomas commented on GitHub (May 11, 2024): Thanks for your patience and valuable feedback. This issue has been resolved in the latest release. Closing this ticket as the fix is now available in the recent version. Please feel free to reach out if you have any other concerns.
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#1413
No description provided.