error: An organization slug is required (provide with --org)
See original GitHub issueHi, trying to upload sourcemap to sentry, but catch this error:
ERROR in Sentry CLI Plugin: Command failed: /node_modules/@sentry/cli/sentry-cli releases new <version>
error: An organization slug is required (provide with --org)
There is how i use plugin:
new SentryCliPlugin({
release: require(root('package.json')).version,
include: '.',
ignoreFile: root('.gitignore'),
configFile: root('src/site/sentry.properties'),
ignore: ['node_modules', 'webpack.config.js'],
}),
And there is sentry.properties file:
defaults.url = https://sentry.io/
defaults.org = <org slug>
defaults.project = <project>
auth.token = <token>
Tryed to set env variable directly (export SENTRY_ORG= <org slug>) and run webpack again, but catch new error:
ERROR in Sentry CLI Plugin: Command failed: /node_modules/@sentry/cli/sentry-cli releases new <version>
error: project not found
Version:
"@sentry/webpack-plugin": "^1.5.2",
Issue Analytics
- State:
- Created 5 years ago
- Reactions:27
- Comments:32 (12 by maintainers)
Top Results From Across the Web
Failed to Generate Signed Apk - An organization slug is ...
So I was searching how I could add the organization slug to my source map uploads. But this error wasn't about the event,...
Read more >Sentry-cli sourcemaps upload - SDKs
error: An organization slug is required (provide with --org). So, Im providing organization slug and receive another error:.
Read more >error: An organization slug is required (provide with --org)
Hi, trying to upload sourcemap to sentry, but catch this error: ERROR in Sentry CLI Plugin: Command failed: ...
Read more >@sentry/webpack-plugin - npm
const SentryCliPlugin = require('@sentry/webpack-plugin'); const config ... org, string, optional, The slug of the Sentry organization ...
Read more >Using Sentry - Expo Documentation
Sentry is a crash reporting platform that provides you with "real-time insight into ... "config": { "organization": "your sentry organization slug here", ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @rimlin, per docs https://docs.sentry.io/learn/cli/configuration/
Therefore your config should look like this:
For others where the solution posted here didn’t work, my CEO changed the org id and didn’t tell me, check the org id you are passing in the .properties file is actually still correct!