Skip to content
Get Help

Connected SDK Troubleshooting

Minimum Requirements ​

  • The Branch Connected SDK requires native browser Javascript and has only been tested in Tizen and WebOS with sessionStorage capability. No third-party libraries are needed to make use of the SDK as it is 100% native Javascript.
TizenWebOS
2.36.0

Branch init Options ​

KeyValueTypeRequired
advertising_idsThe current device's advertising id declared by the brand's corresponding key. Please refer to Connected SDK Basic Integration for more the key index.{string:string}Y for Ad Network Attribution
N for Web Based Attribution
branch_match_idThe current user's browser-fingerprint-id. The value of this parameter should be the same as the value of ?branch_match_id (automatically appended by Branch after a link click). _Only necessary if ?_branch_match_id is lost due to multiple redirects in your flow.stringN
retriesdefault: 2numberN
retry_delayexpressed in milliseconds
default: 200ms
numberN
timeoutexpressed in milliseconds
default: 5000ms
numberN
tracking_disableddefault: falsebooleanN
enableLoggingdefault: falsebooleanN

No Access-Control Error ​

  • Make sure the Branch key is the same within the deep link and app.
javascript
XMLHttpRequest cannot load https://api2.branch.io/v1/open. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 400.

Browser Fingerprint ID ​

  • In case you need to access your user's Browser Fingerprint ID for user deletion, use the function below.
javascript
branch.getBrowserFingerprintId(function(err, data) { console.log(data); });