Hi,
I’m using sentry as a self hosted service, everything work fine for the error reporting but I would like to upload source map.
I’ve followed using sentry doc, but I still have trouble with the post publish part since I’m on a self hosted service (I think this is the cause).
At the moment here’s the app.json setup:
"postPublish": [
{
"file": "sentry-expo/upload-sourcemaps",
"config": {
"organization": "org's short name",
"project": "project's short name",
"authToken": "**MyAuthToken**"
}
}
]
Then, after the publish I still have:
10:22:17 [exp] Running postPublish hook: sentry-expo/upload-sourcemaps
10:22:18 [exp] Error uploading sourcemaps to Sentry: API request failed
caused by: sentry reported an error: Invalid token (http status: 401)
How am I supposed to tell the script to publish on my own installation?
Thanks !