[GH-ISSUE #1735] New environment not being saved #549

Closed
opened 2026-03-16 15:55:18 +03:00 by kerem · 1 comment
Owner

Originally created by @NickNish09 on GitHub (Jun 28, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1735

Describe the bug
Environments not saving when I try to create a new one, either logged in or not.

To Reproduce
Steps to reproduce the behavior:

  1. Go to home page https://hoppscotch.io/
  2. Click on Environments tab
  3. Create a new environment and save it
  4. Refresh the page

Expected behavior
When I refresh the page I should still see the created environment.

Screenshots
Created a new environment named My new env
hoppscotch1

Refreshed the page, and it is gone
hoppscotch2

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Browser Chrome
  • Version 91.0.4472.114

Additional context
Tried logged in and without logging in.
Also tried on a MacOS 10.15

I looked at the console and this error seems to be appearing, I dont know if maybe related:

Uncaught TypeError: Cannot read property 'environment' of undefined

Great project by the way! Thanks for the attention

Originally created by @NickNish09 on GitHub (Jun 28, 2021). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1735 **Describe the bug** Environments not saving when I try to create a new one, either logged in or not. **To Reproduce** Steps to reproduce the behavior: 1. Go to home page https://hoppscotch.io/ 2. Click on Environments tab 3. Create a new environment and save it 4. Refresh the page **Expected behavior** When I refresh the page I should still see the created environment. **Screenshots** Created a new environment named `My new env` ![hoppscotch1](https://user-images.githubusercontent.com/27820474/123567165-e8298200-d797-11eb-9f09-169ae3274219.png) Refreshed the page, and it is gone ![hoppscotch2](https://user-images.githubusercontent.com/27820474/123567153-e3fd6480-d797-11eb-934a-fc5a60d0d277.png) **Desktop (please complete the following information):** - OS: Ubuntu 20.04 - Browser Chrome - Version 91.0.4472.114 **Additional context** Tried logged in and without logging in. Also tried on a MacOS 10.15 I looked at the console and this error seems to be appearing, I dont know if maybe related: ``` Uncaught TypeError: Cannot read property 'environment' of undefined ``` **Great project by the way! Thanks for the attention**
kerem 2026-03-16 15:55:18 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@liyasthomas commented on GitHub (Jun 28, 2021):

Thank you for reporting the issue, we're working on a quick fix.

<!-- gh-comment-id:869275556 --> @liyasthomas commented on GitHub (Jun 28, 2021): Thank you for reporting the issue, we're working on a quick fix.
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#549
No description provided.