dd-sdk-reactnative icon indicating copy to clipboard operation
dd-sdk-reactnative copied to clipboard

Task :app:uploadStagingDebugSourcemaps FAILED with ❌ Configuration error: Error: DATADOG_API_KEY does not contain a valid API key for Datadog site datadoghq.com. after running datadog-react-native-wizard

Open riad40 opened this issue 10 months ago • 1 comments

Describe the bug

I'm trying to integrate crash reporting feature in my react native app, and after following the docs, i couldn't run my android project anymore, and i'm getting this task failed with this error Task :app:uploadStagingDebugSourcemaps FAILED with ❌ Configuration error: Error: DATADOG_API_KEY does not contain a valid API key for Datadog site datadoghq.com. after running datadog-react-native-wizard

Reproduction steps

N/A

SDK logs

No response

Expected behavior

No response

Affected SDK versions

"@datadog/mobile-react-native": "^2.3.1"

Latest working SDK version

N/A

Did you confirm if the latest SDK version fixes the bug?

No

Integration Methods

Yarn

React Native Version

0.71.6

Package.json Contents

No response

iOS Setup

No response

Android Setup

No response

Device Information

No response

Other relevant information

No response

riad40 avatar Apr 05 '24 04:04 riad40

Hey @riad40, I apologise for the late reply!

We are currently working on some issues that were recently introduced with 2.3.0, including this one.

In the meantime, I suggest you discard the changes made by datadog-react-native-wizard, and follow the alternative approach for uploading the source maps.

marco-saia-datadog avatar Apr 17 '24 13:04 marco-saia-datadog

Hey @riad40!

Have you solved the issue on your side?

I believe this issue is unrelated to the fixes we have provided with the new updates. It seems like you did not set DATADOG_API_KEY variable in your environment.

I will close this issue for now, but feel free to re-open it if necessary!

marco-saia-datadog avatar Jun 13 '24 12:06 marco-saia-datadog