BranchMetrics / ios-branch-sdk-spm

Branch iOS SDK Swift Package Manager distribution
https://help.branch.io/developers-hub/docs/ios-basic-integration#via-swift-package-manager
MIT License
15 stars 10 forks source link

[BNCServerInterface genericHTTPRequest:retryNumber:callback:retryHandler:] Giving up on request with HTTP status code 400 #34

Open avinashamanjha251 opened 2 weeks ago

avinashamanjha251 commented 2 weeks ago

Describe the bug

Getting 400 while creating short link using BranchLinkProperties and BranchUniversalObject.

WhatsApp Image 2024-06-13 at 13 53 18

Steps to reproduce

  1. Initialise the SDK from AppDelegate
  2. Try to create short link

Expected behavior

Expecting shorten link

SDK Version

3.4.4

XCode Version

15.4

Device

iPhone 13

OS

17.3.1

Additional Information/Context

No response

avinashamanjha251 commented 1 week ago

guys any update?

farzi-insan commented 1 week ago

I'm facing same. team please help me on the same

avinashamanjha251 commented 5 days ago

Guys, I added some code in BranchShortUrlRequest. Please take a look at it, as I am getting the following response for the shortened URL.

{ code = 400; message = "Link alias conflict: "; }

Screenshot 2024-06-26 at 6 02 49 PM