Are you requesting automatic instrumentation for a framework or library? Please describe.
using library dd-sdk-android:1.17.2
Is your feature request related to a problem? Please describe.
Yes, if the datadog Android SDK is initialised using a wrong Token there's no way to know other than events not appearing on Datadog Dashboard, which is a very manual and prone to errors process.
Describe the solution you'd like
A function in the SDK to validate that the token passed to initialise it is correct. Something similar to the functionality of the existing API endpoint to validate API KEYs
Describe alternatives you've considered
I've tried two options with no luck
- Use the validate-api-key endpoint linked above passing an API TOKEN
- Use the Datadog JVM dependency for unit tests in our Android app, since it does have a validate functionality
In both cases, I received the same 403 error and I believe it's because API TOKENS cannot be used against the validate-api-key endpoint
Thanks!
Are you requesting automatic instrumentation for a framework or library? Please describe.
using library
dd-sdk-android:1.17.2Is your feature request related to a problem? Please describe.
Yes, if the datadog Android SDK is initialised using a wrong Token there's no way to know other than events not appearing on Datadog Dashboard, which is a very manual and prone to errors process.
Describe the solution you'd like
A function in the SDK to validate that the token passed to initialise it is correct. Something similar to the functionality of the existing API endpoint to validate API KEYs
Describe alternatives you've considered
I've tried two options with no luck
In both cases, I received the same 403 error and I believe it's because API TOKENS cannot be used against the validate-api-key endpoint
Thanks!