-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Conflict (409) - duplicate source map file for file name #15
Comments
Hi @Suraj-Chandola – by default the source map upload API does not allow duplicates to be uploaded. If you want to be able to replace an already uploaded source map for the same app version / url, set the new BugsnagSourceMapUploaderPlugin({
apiKey: 'YOUR_API_KEY',
appVersion: '1.2.3',
overwrite: true
}) Hope this helps. If it doesn't, let me know. Otherwise you can write in to [email protected]. |
Is it not true by default? |
The default value in bugsnag-sourcemaps is |
@bengourley Thanks |
This caught me, seems like overwrite should be |
Thanks @bengourley! |
This should be by default, my jenkins build just stalled over this. |
Thanks for your thoughts @simkessy. We will look into changing the default behaviour to overwrite. |
I think I would like to bump this feature request. Using a gitops approach our "postSync" job handles the bugsnag source map uploads, we sync whenever there is a config change to our k8 resources in git so we end up uploading a lot for the same version number. Can definitely just update it in code at the plugin level but just wanted to share my experience. |
Thanks. We've decided to leave the default as |
@johnkiely1 It would be great to have a self-explaining error message. Could have saved some hours here :) currently:
Preferred
|
@sgotre |
Any news on
|
Hi @Haraldson, this is still in our backlog. Other priorities have meant we have been unable to get around to this yet. We will post here once we have any updates on this! |
While uploading source map using webpack-bugsnag-plugins,
i am getting this error Error: Conflict (409) - duplicate source map file for file name
The text was updated successfully, but these errors were encountered: