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've created the project in app.eu.amplitude.com/analytics I've added Amplitude to my project using the tutorial https://amplitude.com/docs/sdks/analytics/ios/ios-swift-sdk
import AmplitudeSwift class AnalyticsService { static let shared = AnalyticsService() private let amplitudeInstance: Amplitude init() { let conf = Configuration(apiKey: "my_api_key", logLevel: .DEBUG) self.amplitudeInstance = Amplitude(configuration: conf) } func log(event: String, parameters params: [String : Any] = [:]) { amplitudeInstance.track(eventType: event, eventProperties: params, options: nil) } }
@main struct MyApp: App { init() { let _ = AnalyticsService.shared } var body: some Scene { ...
but I only see one error Error: Response failed with code400: {"code":400,"error":"Invalid API key: my_api_key"}
What is the reason for this error and how can I fix it?
The text was updated successfully, but these errors were encountered:
@AndrewRudyk could you please set the serverZone parameter in config to EU?
Sorry, something went wrong.
@izaaz Thank you so much for answer! It works:) But if an App will be launched outside EU what value shoud be set for serverZone parameter?
ServerZone is where the account is hosted (usually for data privacy reasons). It should accept global traffic.
No branches or pull requests
Hello,
I've created the project in app.eu.amplitude.com/analytics
I've added Amplitude to my project using the tutorial https://amplitude.com/docs/sdks/analytics/ios/ios-swift-sdk
but I only see one error
Error: Response failed with code400: {"code":400,"error":"Invalid API key: my_api_key"}
What is the reason for this error and how can I fix it?
The text was updated successfully, but these errors were encountered: