ATS Mobile SDK Error Codes

This article details all potential error codes users encounter while integrating with ATS Mobile SDK. View the list below to learn what each error code means and how to troubleshoot it.

CodeLabelDescriptionTroubleshooting Guide
100missingAppIdA Config ID is not provided and SDK cannot initialize properly.Check the initialize method of the LRAts SDK and verify that configID is provided.

If initializing using the Google Mediation Adapter SDK, check if the configured adapter is executed with a Config ID in appID.

To learn how to obtain Config ID, see "Implement ATS Mobile SDK".
101invalidAppIdThe provided Config ID is invalid and SDK cannot initialize properly.Check the initialize method of the LRAts SDK and verify that the configID is valid.

If initializing using the Google Mediation Adapter SDK , check if the configured adapter is executed with a valid Config ID in appID.

To learn more about Config ID, see "Implement ATS Mobile SDK ".
102fetchingConfigurationFailedConfiguration couldn’t be successfully retrieved for the specified configID.Verify that the request for fetching configuration was successful. SDK will try to load cached configuration, if it’s also not available, an error will be returned.
103invalidConfigurationConfiguration is not in the expected format.Verify if the JSON response of the configuration request is in valid format. Names, properties, inner objects should be inline with data models inside the SDK. Check if the backend had a recent release and if a generation of configurations was impacted.
110sdkIsAlreadyLoadingThe SDK is already loading with different configuration.Wait until initialize is finished before trying to initialize the SDK again.
111sdkIsAlreadyInitializedThe SDK is already initialized with a different configuration.To initialize the SDK with a different configuration, you must first call the resetSdk method and then initialize the SDK with a new configuration.
112sdkIsDisabledThe SDK is in a DISABLED state.You must first call the isDisabled method and set the sdkDisabled property to false to continue initializing the SDK.
113sdkIsNotReadyThe SDK is not fully initialized.The SDK status must be ready before it can be used. Check if the SDK is properly initialized and that getEnvelope, syncFilters, and getDealIDs are called only after the initialization is completed.
120noConsentNo consent is provided by user.Check if the corresponding consent is present in sharedPreferences or userDefaults.
121noInternetNo internet is detected.Check if device has internet connection. Turn on airplane mode and turn it off or restart device.
122atsDisabledInCountryThe device's corresponding country is not enabled in ATS placement.Check if the user country is in the list of ATS-enabled countries. See "Configure ATS Placement" to view list of countries enabled for your ATS placement.
123databaseFailureDatabase couldn’t be opened.SDK will try to restore itself. If it doesn’t help after reopening the app, reinstall it.
200sdkNotInitialized getEnvelope is called before the SDK is initialized.Make sure the SDK is successfully initialized to get the envelope.
210emptyIdentifierLRIdentifier is not provided and the envelope can't be fetched.Check the getEnvelope method of the LRAts SDK and verify that LRIdentifier is provided.
211invalidIdentifierThe provided LRIdentifier is not valid and the envelope can’t be fetched.Check the getEnvelope method of the LRAts SDK and verify that the LRIdentifier provided is in a valid format.
300fetchingEnvelopeFailedAn error occurred while getting the envelope.Check if the envelope request returned a successful response.Then, check if the cached envelope is expired, in which case the envelope cannot be refreshed or regenerated without an identifier.
301refreshingEnvelopeFailedUnable to refresh the envelope for an identifier.Check if the request for refreshing envelopes was successful.
400syncDealsErrorUnable to sync bloom filters. Error occurred.Check if bloom filters are available for specified configuration. If none of the specified bloom filters couldn’t be downloaded, verify that the server is available. Check the response of /bloom-filters-mobile/bloom-filter-binary/ endpoint.