Organization users can't add entries #134

Closed
opened 2025-11-07 06:25:14 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @mav808 on GitHub (Nov 19, 2018).

I created an organization and invited another user. Despite given the user management access to several collections the other user can not add any items. Whenever they attempt to add an item they just get an error popup that simply states an error occurred and gives no further detail.

Originally created by @mav808 on GitHub (Nov 19, 2018). I created an organization and invited another user. Despite given the user management access to several collections the other user can not add any items. Whenever they attempt to add an item they just get an error popup that simply states an error occurred and gives no further detail.
GiteaMirror added the troubleshooting label 2025-11-07 06:25:14 -06:00
Author
Owner

@moqmar commented on GitHub (Nov 19, 2018):

I have no idea if this is related, but I get a collection named [error: cannot decrypt] in my newly created organization, and if I try to save a newly created item, nothing happens (the popup just stays open).

I also cannot create a new collection in my organization, and deleting [error: cannot decrypt] doesn't change anything at all.

@moqmar commented on GitHub (Nov 19, 2018): I have no idea if this is related, but I get a collection named `[error: cannot decrypt]` in my newly created organization, and if I try to save a newly created item, nothing happens (the popup just stays open). I also cannot create a new collection in my organization, and deleting `[error: cannot decrypt]` doesn't change anything at all.
Author
Owner

@mprasil commented on GitHub (Nov 19, 2018):

@marekbell, are you using latest image? Also did you confirm the user after inviting them?

@moqmar, are you using the SERVER_ADMIN_EMAIL by any chance?

@mprasil commented on GitHub (Nov 19, 2018): @marekbell, are you using latest image? Also did you confirm the user after inviting them? @moqmar, are you using the `SERVER_ADMIN_EMAIL` by any chance?
Author
Owner

@mav808 commented on GitHub (Nov 19, 2018):

I just duplicated the same issue again on a fresh install. I'm using the latest Docker image... when I run it the website shows the version as '2.5.0'.

To reproduce it on the fresh install I did...

  1. Create new user a@mydomain.com.
  2. User A creates organization Test and adds an item to the default category within the organization.
  3. User A creates second category TestCat in organization and adds item in that.
  4. User A invites b@mydomain.com to the organization as Manager with access to categories Default and TestCat.
  5. User B joins.
  6. User A accepts B.
  7. User B can now see the organization and the items in both the Default and TestCat categories.
  8. User B attempts to add a new item to either Default or TestCat. Error shown states "An error has occurred. An unexpected error has occurred".

So, user B can't add anything to the organization. User B is able to make their own items without error, but can not make items that belong to the organization.

@mav808 commented on GitHub (Nov 19, 2018): I just duplicated the same issue again on a fresh install. I'm using the latest Docker image... when I run it the website shows the version as '2.5.0'. To reproduce it on the fresh install I did... 1. Create new user a@mydomain.com. 2. User A creates organization Test and adds an item to the default category within the organization. 3. User A creates second category TestCat in organization and adds item in that. 4. User A invites b@mydomain.com to the organization as Manager with access to categories Default and TestCat. 5. User B joins. 6. User A accepts B. 7. User B can now see the organization and the items in both the Default and TestCat categories. 8. User B attempts to add a new item to either Default or TestCat. Error shown states "An error has occurred. An unexpected error has occurred". So, user B can't add anything to the organization. User B is able to make their own items without error, but can not make items that belong to the organization.
Author
Owner

@mav808 commented on GitHub (Nov 19, 2018):

Just tried again and when I look in the log immediately after trying step 8 above I see...

POST /api/ciphers/create application/json; charset=utf-8: | stdout
=> Matched: POST /api/ciphers/ | stdout
=> Error: Couldn't parse JSON body: Error("missing field Type", line: 1, column: 607) | stdout
=> Outcome: Failure | stdout
=> Warning: Responding with 400 Bad Request catcher. | stdout

@mav808 commented on GitHub (Nov 19, 2018): Just tried again and when I look in the log immediately after trying step 8 above I see... POST /api/ciphers/create application/json; charset=utf-8: | stdout => Matched: POST /api/ciphers/<uuid> | stdout => Error: Couldn't parse JSON body: Error("missing field `Type`", line: 1, column: 607) | stdout => Outcome: Failure | stdout => Warning: Responding with 400 Bad Request catcher. | stdout
Author
Owner

@mprasil commented on GitHub (Nov 19, 2018):

That sounds like duplicate of #253

@mprasil commented on GitHub (Nov 19, 2018): That sounds like duplicate of #253
Author
Owner

@moqmar commented on GitHub (Nov 19, 2018):

@mprasil You're right, thank you. Seems like I didn't fully read the README, sorry for that! 🙈

@moqmar commented on GitHub (Nov 19, 2018): @mprasil You're right, thank you. Seems like I didn't fully read the README, sorry for that! :see_no_evil:
Author
Owner

@dani-garcia commented on GitHub (Nov 19, 2018):

The /api/ciphers/create issue is fixed, if there is any other problem, please reopen the issue or create a new one

@dani-garcia commented on GitHub (Nov 19, 2018): The /api/ciphers/create issue is fixed, if there is any other problem, please reopen the issue or create a new one
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#134