hoppscotch / hoppscotch

Open source API development ecosystem - https://hoppscotch.io (open-source alternative to Postman, Insomnia)

Home Page:https://hoppscotch.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug]: Selfhosted Generate Code ist Broken

RaHehl opened this issue · comments

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

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.

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

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.