bitwarden / bitwarden/ios

Unable to synchronise vault or modify entries, until re-authenticated.

Open
#1,752 7 comments 3 reactions 0 assignees View on GitHub
app:password-manager bug
Dominant language
Swift
Stars
684
Forks
154
Avg merge
7d 2h
Merged PRs (30d)
32

Description

### Steps To Reproduce

Attempt to synchronise the vault, or modify an entrant.

### Expected Result

I should be able to.

### Actual Result

I'm informed that I'm unable to due to an error.

### Additional Context

~~~YAML
BitwardenKit.ResponseValidationError(response: Networking.HTTPResponse(body: 25 bytes, headers: ["Content-Type": "application/json; charset=UTF-8", "Strict-Transport-Security": "max-age=31557600", "x-xss-protection": "1; mode=block", "x-served-by": "cache-lcy-eglc8600038-LCY", "Pragma": "no-cache", "x-cache-hits": "0", "Cache-Control": "no-store, no-cache, max-age=0", "x-frame-options": "SAMEORIGIN", "Accept-Ranges": "bytes", "Date": "Fri, 11 Jul 2025 15:14:26 GMT", "x-content-type-options": "nosniff", "x-cache": "MISS"], statusCode: 400, requestID: 00A3AFBB-90AE-45AA-AC32-14A613BA9223, url: https://identity.bitwarden.com/connect/token))
The operation couldn’t be completed. (BitwardenKit.ResponseValidationError error 1.)

Stack trace:
0 BitwardenShared 0x0000000104b4acb4 __swift_memcpy81_8 + 80500
1 BitwardenShared 0x000000010492bca9 objectdestroy.13Tm + 11569
2 BitwardenShared 0x00000001048e2699 objectdestroyTm + 1909
3 BitwardenShared 0x000000010493ddc1 objectdestroyTm + 27185
4 BitwardenShared 0x000000010493ad71 objectdestroyTm + 14817
5 BitwardenShared 0x0000000104a23ee5 __swift_memcpy96_8 + 240357
6 BitwardenShared 0x00000001048e2699 objectdestroyTm + 1909
7 BitwardenShared 0x0000000104e416d5 objectdestroy.12Tm + 905
8 BitwardenShared 0x00000001048ddfa5 __swift_destroy_boxed_opaque_existential_0 + 16349
9 BitwardenShared 0x00000001048e2699 objectdestroyTm + 1909
10 BitwardenShared 0x00000001049e8471 __swift_memcpy24_8 + 39457
11 BitwardenShared 0x00000001048d98b9 __swift_memcpy1_1 + 7933
12 BitwardenShared 0x0000000104cca665 block_destroy_helper + 20877
13 BitwardenShared 0x00000001048e2699 objectdestroyTm + 1909
14 libswift_Concurrency.dylib 0x0000000194625241 DCB9E73A-92BA-3782-BC6D-3E1906622689 + 414273

Binary images:
Bitwarden: 0x000000010241c000
BitwardenShared: 0x00000001048d0000
BitwardenKit: 0x0000000102630000

User ID: 7dbb3981-37ab-4de1-9c93-acbf016f167b
Version: 2025.6.0 (2235)
📱 iPhone15,5 🍏 iOS 18.5 📦 Production
🧱 commit: bitwarden/ios/release/2025.06-rc10@ff06d9c6cc8da89f78f37f376495800201d7261a
💻 build source: bitwarden/ios/actions/runs/15831780687/attempts/1
~~~

I neglected to activate Flight Recorder. I wish that I could always leave it active.

### Build Version

> `2025.6.0` (2235)

### What server are you connecting to?

US

### Self-host Server Version

_No response_

### Environment Details

1. #### Device

iPhone 15 Plus

1. #### OS Version

18.5

### Issue Tracking Info

- [x] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing vault synchronization or entry modification on the reported iPhone and inspect the failed request to https://identity.bitwarden.com/connect/token. Compare the authentication response and re-authentication path; done means both operations work without requiring re-authentication.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.