Hello,
I am trying to use sentry-expo for my enterprise app. The app is connected to Sentry, but not the source code. Even though I’m getting error reports, I need to know where the error is occurring in my code!
When I try publishing, I get the following error:
Error uploading sourcemaps to Sentry: project not found
Running:
expo: 39.0.0
sentry-expo: 3.0.4
Here is the hooks section in my app.json:
"hooks": {
"postPublish": [
{
"file": "sentry-expo/upload-sourcemaps",
"config": {
"organization": "[org name from Sentry]",
"project": "[project name from Sentry]",
"authToken": "[API key I generated in Sentry]"
}
}
]
}
Here is where I’m setting up Sentry in app.json:
import * as Sentry from 'sentry-expo';
Sentry.init({
dsn: '[DSN from project]',
enableInExpoDevelopment: false,
debug: [true in dev, false in staging/prod],
});
I’ve seen past topics like this and they resolved it by removing the hyphens from their project or organization names. My names have no special characters. Any insights would be appreciated!