Skip to content

Login fails on Linux: error missing field "trustedPhoneNumbers" #169

@lusmo

Description

@lusmo

Description

When I try to log in to OpenBubbles on Linux using the QR-code flow from my Mac, the login fails with the following error:

Request failed error decoding response body: missing field trustedPhoneNumbers at line 13 column 1

Caused by:
0: error decoding response body: missing field trustedPhoneNumbers at line 13 column 1
1: missing field trustedPhoneNumbers at line 13 column 1

The QR generator on macOS shows my correct phone number and email and I confirmed the data are correct. On macOS the Apple ID works fine (iMessage etc.).

Environment

  • Platform: Linux desktop (Fedora, Flatpak build of OpenBubbles)
  • OpenBubbles version: 1.15.0.0, stable
  • macOS device: MacBook Pro 16" (2019), Intel
  • macOS version:MacOS Tahoe 26.2
  • Apple ID is using:
    • phone number
    • email
    • 2FA

Steps to reproduce

  1. On macOS, download and run the QR code generator from openbubbles.app.
  2. Sign in with an Apple ID that works fine with iMessage on the Mac.
  3. On the Linux desktop client, start OpenBubbles.
  4. Choose the option to pair using the QR code / pairing code.
  5. Enter the pairing code from the Mac (in my case I cannot scan QR because the Linux machine has no camera).
  6. Continue through the login steps until the client tries to finalize the login.

Expected result

The Linux client should successfully complete login and connect to my Apple ID.

Actual result

The client fails with:

Request failed error decoding response body: missing field trustedPhoneNumbers at line 13 column 1

and the login cannot be completed.

Logs

Here is the log from the Linux client (started from terminal):

flutter: ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
flutter: │ AnyhowException(Request failed error decoding response body: missing field trustedPhoneNumbers at line 13 column 1
flutter: │
flutter: │ Caused by:
flutter: │ 0: error decoding response body: missing field trustedPhoneNumbers at line 13 column 1
flutter: │ 1: missing field trustedPhoneNumbers at line 13 column 1)
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ #0 SimpleDecoder.decode (package:flutter_rust_bridge/src/codec/base.dart:32)
flutter: │ #1 SseCodec._decode (package:flutter_rust_bridge/src/codec/sse.dart:42)
flutter: │ #2 SseCodec.decodeObject (package:flutter_rust_bridge/src/codec/sse.dart:32)
flutter: │ #3 _rootRunUnary (dart:async/zone.dart:1407)
flutter: │ #4
flutter: │ #5 SetupViewController.updateLoginState (package:bluebubbles/app/layouts/setup/setup_view.dart:308)
flutter: │ #6
flutter: │ #7 _AppleIdLoginState.connect (package:bluebubbles/app/layouts/setup/pages/rustpush/appleid_login.dart:463)
flutter: │ #8
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ 2026-01-20T14:32:55.334853Z [ERROR] [BlueBubblesApp] Unhandled Exception
flutter: └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions