late-ambulance-66508
04/21/2025, 8:36 PM/sub/sdk-*
endpoint and the server returns a 401 error:
{
"status": 401,
"message": "No authorization token was found"
}
The SDK was initialized with backgroundSync: true
setting.
Now we can do a release without this option, but can you help sort out the problem please?
SDK: 1.0.62
apiHost: apiHost, // we use CloudFlare CDN, but see the same error with GB's CDN
clientKey: clientKey,
encryptionKey: nil,
attributes: attributes,
trackingCallback: { experiment, result in
trackingCallback?(experiment.key, result.variationId)
},
refreshHandler: nil,
backgroundSync: true,
remoteEval: false
calm-dog-24239
04/22/2025, 8:23 AMcalm-dog-24239
04/23/2025, 9:34 AMlate-ambulance-66508
04/23/2025, 10:21 AMcalm-dog-24239
04/23/2025, 11:21 AMlate-ambulance-66508
04/23/2025, 1:26 PMcalm-dog-24239
04/23/2025, 1:33 PMlate-ambulance-66508
05/01/2025, 6:47 PMAs for streaming, the Javascript SDK has aHere are the details: https://github.com/growthbook/growthbook/pull/3966#issuecomment-2842042940option that you could point directly tostreamingHost
, but unfortunately, it looks like our Swift and Kotlin SDKs do not support this right now. I can put in a feature request there for you. In the meantime, if you want to use your own CDN, you will need to disable streaming in the SDK.<https://cdn.growthbook.io>
calm-dog-24239
05/02/2025, 6:51 AMlate-ambulance-66508
05/02/2025, 7:50 AMcalm-dog-24239
05/02/2025, 1:22 PM