mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[PR #6665] [MERGED] return no content with status code 204 #3827
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#3827
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?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/6665
Author: @stefan0xC
Created: 1/5/2026
Status: ✅ Merged
Merged: 1/5/2026
Merged by: @BlackDex
Base:
main← Head:return-no-content📝 Commits (1)
ae0da92return no content with status code 204📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
src/api/identity.rs(+1 -0)📄 Description
As discussed in https://github.com/dani-garcia/vaultwarden/issues/6592#issuecomment-3709484614 the Bitwarden android app expects the status code to be
204 No Contentfor this endpoint if the response is empty. (Cf. AccountsController.cs#L124). With the default200it tries to convert it to JSON which fails.kotlinx.serialization.json.internal.JsonDecodingException: Cannot read Json element because of unexpected end of the input at path: $(To test you need to configure both mail and set
SIGNUPS_VERIFY=trueotherwise you can just choose a password.)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.