Skip to content

Error: bad URL #1548

@oleh-kaliuzhnyi

Description

@oleh-kaliuzhnyi

Describe the bug

We have reports on Firebase Crashlytics that include the following information:

Error Domain=NSURLErrorDomain Code=-1000 "bad URL" UserInfo={_kCFStreamErrorCodeKey=22, NSUnderlyingError=0x159a47600 {Error Domain=kCFErrorDomainCFNetwork Code=-1000 "(null)" UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0[802.11], ipv4, dns, uses wifi, LQM: good, _kCFStreamErrorCodeKey=22, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <07B923B0-62F8-4838-B36A-F356EDF15D7D>.<4>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <07B923B0-62F8-4838-B36A-F356EDF15D7D>.<4>" ), NSLocalizedDescription=bad URL, NSErrorFailingURLStringKey=https://api3.branch.io/v1/open, NSErrorFailingURLKey=https://api3.branch.io/v1/open, _kCFStreamErrorDomainKey=1}

The app is based on .NET MAUI (9.0.120) which uses Branch-Xamarin-Linking-SDK v10.0.0 (Branch iOS SDK 3.9.0).
Branch-Xamarin-Linking-SDK v9.0.0 (Branch iOS SDK 2.1.2) didn't have this issue.

Steps to reproduce

We have not been able to reproduce the issue locally, assuming that the /v1/open endpoint gets called when a user tries to open an app link.

Expected behavior

No error occurs.

SDK Version

3.9.0

XCode Version

26.0.1

Device

iPhone 15 Pro Max, iPhone 13 Mini, iPhone 16 Pro, iPhone 15 Pro

OS

26.2, 26.1

Additional Information/Context

According to Crashlytics, all the devices with this error were in the background state.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions