We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello!
I recently integrate SDK and I'm using v1.0.1 and ran into the "missing parameter:" error response when i upload event
I read SDK document
env Xcode: 14.3.1 iOS: 16.4 simulator - iPhone 14 plus Treasure Data SDK version: 1.0.1
error error. errorCode= server_response, message= Optional("Response code was NOT 200. It was: 400")
error. errorCode= server_response, message= Optional("Response code was NOT 200. It was: 400")
reproduce steps I just integrate code
TreasureData.enableLogging() TreasureData.initializeEncryptionKey("hello world") TreasureData.initialize(withApiKey: apiKey, apiEndpoint: endpoint) TreasureData.sharedInstance().defaultDatabase = "testdb" TreasureData.sharedInstance().enableAutoAppendUniqId() TreasureData.sharedInstance().enableAutoAppendModelInformation() TreasureData.sharedInstance().disableRetryUploading() TreasureData.sharedInstance().startSession("demotbl") TreasureData.sharedInstance().enableAppLifecycleEvent()
it dont let me know i .initialize success or not.
and when i up load event like this
debugPrint("===== [Analytic] Treasure analytics upload event =====") TreasureData.sharedInstance().endSession("demotbl") let application = UIApplication.shared var bgTask : UIBackgroundTaskIdentifier = UIBackgroundTaskIdentifier(rawValue: 0) bgTask = application.beginBackgroundTask(expirationHandler: { application.endBackgroundTask(bgTask) bgTask = UIBackgroundTaskIdentifier.invalid }) TreasureData.sharedInstance().uploadEvents(callback: { application.endBackgroundTask(bgTask) bgTask = UIBackgroundTaskIdentifier.invalid debugPrint("===== [Analytic] Treasure analytics upload event success =====") }, onError: {(errorCode, message) -> Void in print("===== [Analytic] Treasure analytics upload events: error. errorCode= \(errorCode), message= \(message)") application.endBackgroundTask(bgTask) bgTask = UIBackgroundTaskIdentifier.invalid })
I meet error error. errorCode= server_response, message= Optional("Response code was NOT 200. It was: 400")
Note: Currently I just have endpoint and api key. So I can't access to dashboard to check other info
Thank you for your support😄
The text was updated successfully, but these errors were encountered:
@vienvuyum Please make sure you're using correct endpoint. For tokyo region it is https://ap01.records.in.treasuredata.com
https://ap01.records.in.treasuredata.com
Sorry, something went wrong.
no response for a while. close
No branches or pull requests
Hello!
I recently integrate SDK and I'm using v1.0.1 and ran into the "missing parameter:" error response when i upload event
I read SDK document
env
Xcode: 14.3.1
iOS: 16.4 simulator - iPhone 14 plus
Treasure Data SDK version: 1.0.1
error
error. errorCode= server_response, message= Optional("Response code was NOT 200. It was: 400")
reproduce steps
I just integrate code
it dont let me know i .initialize success or not.
and when i up load event like this
I meet error
![Screenshot 2023-11-30 at 17 53 52](https://private-user-images.githubusercontent.com/118329263/286905757-12e07f5b-21e4-451d-9008-0a2283512d84.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1OTM3NzUsIm5iZiI6MTcyNTU5MzQ3NSwicGF0aCI6Ii8xMTgzMjkyNjMvMjg2OTA1NzU3LTEyZTA3ZjViLTIxZTQtNDUxZC05MDA4LTBhMjI4MzUxMmQ4NC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwNlQwMzMxMTVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00NzVlOTk5YjgwMGQwYjU1ODNmNGRlZDc3M2M3ZjM3Njk4NWU4ODk1NzIzMjFmNzMzM2U3ZDIxZDMxZmM4ODlmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.drpgKIv5hL4qXrTbVd39Oigl-J1i8LnUriCr6IgDews)
error. errorCode= server_response, message= Optional("Response code was NOT 200. It was: 400")
Note: Currently I just have endpoint and api key. So I can't access to dashboard to check other info
Thank you for your support😄
The text was updated successfully, but these errors were encountered: