[GH-ISSUE #2068] [bug]: Unable to Create Teams #679

Closed
opened 2026-03-16 16:40:22 +03:00 by kerem · 4 comments
Owner

Originally created by @shanushawanjha on GitHub (Jan 18, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2068

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

I have deployed the Hoppscotch on my server using docker compose, as mentioned I have changed google's credentials in .env file, Created firestore database, and everything else is working fine but when to try to load teams or create a team it not working it is showing "something went wrong" message. When I checked in the console I got an error " Uncaught (in promise) FirebaseError: Missing or insufficient permissions." and also their error in the network tab while calling an API:

URL: https://api.hoppscotch.io/graphql

Request: {"query":"query MyTeams {\n myTeams {\n id\n name\n myRole\n ownersCount\n teamMembers {\n membershipID\n user {\n photoURL\n displayName\n email\n uid\n __typename\n }\n role\n __typename\n }\n __typename\n }\n}\n","operationName":"MyTeams"}

Response: {"errors":[{"message":"auth/fail","locations":[{"line":2,"column":3}],"path":["myTeams"],"extensions":{"code":"INTERNAL_SERVER_ERROR"}}],"data":null}

It is fine that separate deployment is calling this API (https://api.hoppscotch.io/graphql).

To fix the permission error I tried changing the rule still it is not working.
Can someone please help

Steps to reproduce

  1. Click on the profile
  2. Go to the teams tab

Environment

Deploy preview

Version

Self-hosted

Originally created by @shanushawanjha on GitHub (Jan 18, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2068 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior I have deployed the Hoppscotch on my server using docker compose, as mentioned I have changed google's credentials in .env file, Created firestore database, and everything else is working fine but when to try to load teams or create a team it not working it is showing "something went wrong" message. When I checked in the console I got an error " Uncaught (in promise) FirebaseError: Missing or insufficient permissions." and also their error in the network tab while calling an API: URL: https://api.hoppscotch.io/graphql Request: {"query":"query MyTeams {\n myTeams {\n id\n name\n myRole\n ownersCount\n teamMembers {\n membershipID\n user {\n photoURL\n displayName\n email\n uid\n __typename\n }\n role\n __typename\n }\n __typename\n }\n}\n","operationName":"MyTeams"} Response: {"errors":[{"message":"auth/fail","locations":[{"line":2,"column":3}],"path":["myTeams"],"extensions":{"code":"INTERNAL_SERVER_ERROR"}}],"data":null} It is fine that separate deployment is calling this API (https://api.hoppscotch.io/graphql). To fix the permission error I tried changing the rule still it is not working. Can someone please help ### Steps to reproduce 1. Click on the profile 2. Go to the teams tab ### Environment Deploy preview ### Version Self-hosted
kerem 2026-03-16 16:40:22 +03:00
Author
Owner

@liyasthomas commented on GitHub (Jan 18, 2022):

Collaborative feature like Teams is not available for self-hosted instances of Hoppscotch yet. Follow the project on GitHub to get product updates for the upcoming self-hostable Hoppscotch instances.

<!-- gh-comment-id:1015079965 --> @liyasthomas commented on GitHub (Jan 18, 2022): Collaborative feature like Teams is not available for self-hosted instances of Hoppscotch yet. Follow the project on GitHub to get product updates for the upcoming self-hostable Hoppscotch instances.
Author
Owner

@mcelotti commented on GitHub (May 1, 2022):

I have the same problem. I was wondering if it would be possible to get the code for https://api.hoppscotch.io/graphql. Thanks

<!-- gh-comment-id:1114269900 --> @mcelotti commented on GitHub (May 1, 2022): I have the same problem. I was wondering if it would be possible to get the code for https://api.hoppscotch.io/graphql. Thanks
Author
Owner

@Sand33pSrinivasan commented on GitHub (Oct 21, 2022):

@liyasthomas Is the collection feature available for self-hosted hopscotch instances?

<!-- gh-comment-id:1286971265 --> @Sand33pSrinivasan commented on GitHub (Oct 21, 2022): @liyasthomas Is the collection feature available for self-hosted hopscotch instances?
Author
Owner

@ecke78 commented on GitHub (Nov 17, 2022):

Is there any progress on this issue. Just deployed my own instance but it was really the team feature that made this a compelling solution.

<!-- gh-comment-id:1319195777 --> @ecke78 commented on GitHub (Nov 17, 2022): Is there any progress on this issue. Just deployed my own instance but it was really the team feature that made this a compelling solution.
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#679
No description provided.