mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5167] [bug]: Collections not persisted when access token expires #1968
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#1968
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 @chhaviG22 on GitHub (Jun 18, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5167
Originally assigned to: @chhaviG22 on GitHub.
Is there an existing issue for this?
Current behavior
When a user’s access token is expired, creating a collection still returns a 200 OK response from the API. However, the response body contains an "unauthenticated" error.
Since the UI does not surface this error, it appears to the user that the collection has been successfully created.
In reality, the collection is not saved to the database, and when the app is refreshed (and a new access token is generated using the refresh token), the collection disappears without any trace—leading to confusion and potential data loss.
Steps to reproduce
Logs and Screenshots
https://github.com/user-attachments/assets/4ce7e368-b4f6-424a-ad33-e6907c48890b
Environment
Production
Hoppscotch Version
Self-hosted
Interceptor
Not Applicable - Issue not related to network requests
Browsers Affected
No response
Operating System
None
Additional Information
No response
@liyasthomas commented on GitHub (Sep 29, 2025):
The latest version of Hoppscotch has resolved this bug.