-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Problem with attachments API (getAttachments) #5229
Comments
@pnutmath Could you share what your setup looks like to get this error? |
One more point here is I am using And setup I followed is exactly same as mentioned in guide: https://docs.sentry.io/platforms/node/guides/express/ along with sentry tracer. I have downgraded sentry packages and it working fine as earlier.
|
Hi, winston-sentry-log seems to be using |
I was encountering this as well. Solved by downgrading as @pnutmath suggested above. |
I'm getting the same issue, but with React instead. |
Hi @fmorris2 @marcussa, obviously people having to downgrade the SDK is not what we want. We have a suspicion on the problem but to confirm, we would need a reproduction setup. Also, just to make sure nothing fishy is going on with versions: Can you run |
I'll take a look into this 😆 |
Looking through the code and the stack trace at the top of this issue, I can't see a way to reproduce this if all the Sentry dependencies have been updated to v7. It looks like a v6 scope is getting passed through with
You can also check through your lock file for Sentry dependencies and ensure they're all v7. Alternatively, linking to a basic app that reproduces this would help me figure out what's up. |
@timfish I've figured out what's causing the issue. |
We unfortunately do not support any use case where you are running different versions of a Sentry SDK instance in the same environment. You'll have to make everything is updated to v7! Once that is done, check out our docs for using individual Sentry clients. This may help point you in the right direction for how to instantiate multiple Sentry clients. |
@AbhiPrasad "We unfortunately do not support any use case where you are running different versions of a Sentry SDK instance in the same environment. You'll have to make everything is updated to v7!" can we load Sentry SDK two times on page with same version(I know is bad for web performance :<)? We got web page composed with 2 apps and we are control only one app. Are there any plans for future to allow such behaviour? |
@dzborowski No, sadly this is a major limitation of the SDK right now. As soon as you introduce multiple versions of the SDK (especially multiple major versions) the SDK will almost always break in some capacity. As for plans for the future: We currently have no short term plans to fix this. |
@lforst @AbhiPrasad We are going to rollback our version of sentry, and possibly look to remove its usage completely. It seems like a problem that will continue until these major versions are somewhat compatible (could at least handle errors like this). |
@ScottFSeely you should be able to use |
From what I can tell the the |
|
@AbhiPrasad |
After upgrading sentry to v7 getting below error. I am using sentry with node express project
Originally posted by @pnutmath in #5004 (comment)
The text was updated successfully, but these errors were encountered: