-
-
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
Uncaught TypeError: Cannot create proxy with a non-object as target or handler #14077
Comments
Auto-routing to @getsentry/product-owners-issues for triage ⏲️ |
Please file a support ticket and someone from the support team can help debug this futher. |
User has written in via internal ticket 132675, closing issue |
|
After downgrading to 8.17, the error is gone. thanks pal. |
We've encountered the same issue after upgrading to |
I'm currently using the same version, |
exactly @kai-softr after downgrade , it's working fine |
I have raised a new issue asking Sentry to update this thread with instructions on how to resolve this. |
Saw the issue on |
According to the internal support ticket, the problem had to do with Firebase, specifically this: firebase/firebase-tools#1661. I'm going to reopen this, but I'm also going to move it to the SDK repo, since that's where the incompatibility lies. |
I don't believe its limited to firebase. I came across the problem on an Ionic react project, using sentry/capacitor. Capacitor and Ionic versions
This (excerpt from package.json) succeeds
While this fails with the error in the topic.
|
@Beauchaj thanks for pointing that out, but we'll still need to wait for a reproduction to debug this issue. |
@chargome I am seeing the same thing inside a Capacitor app, when using the Capacitor http plugin - https://capacitorjs.com/docs/apis/http It works fine in the same capacitor project when I do not use that http plugin (capacitor/http patches or modifies xhr, and is very commonly in use for projects that use cookie-based auth/credentials.) I can try to create a minimal reproduction skeleton project tomorrow, if that helps. |
@thomanil thanks for chiming in. Yea a reproduction would help for sure, thanks! |
Did not get around to it yesterday but will be able to one of next few days :) |
@andreiborza @chargome @muuvmuuv Reproduction here: https://github.com/thomanil/sentry-on-capacitor-patched-xhr-crash-reproduce/tree/main (Have tried to make it as easy as possible to set up, but let me know if you have any trouble!) |
@thomanil thanks for that. Taking a look. |
So it does not just fail silently, error reports do make it out in latest release? |
@thomanil yep |
Environment
SaaS (https://sentry.io/)
What are you trying to accomplish?
I'm try to init sentry. Initially it was working fine but now getting error
How are you getting stuck?
I'm try to init sentry through firebase key but getting error now. Initially it was working fine and we caught many errors.
Getting error in xhr.ts file of sentry pkg:
![Image](https://private-user-images.githubusercontent.com/109352268/368234760-84cbf40f-987d-4b7b-9f8a-78916ad5a214.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NzI2MTMsIm5iZiI6MTczOTU3MjMxMywicGF0aCI6Ii8xMDkzNTIyNjgvMzY4MjM0NzYwLTg0Y2JmNDBmLTk4N2QtNGI3Yi05ZjhhLTc4OTE2YWQ1YTIxNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQyMjMxNTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMzdlY2Y1MmYwMmE5ZTUxMTgwYThiYjU0MzcwNmQwZWEzNzdiMTgwMzMzZGQwNTc5YjQxZDMzNzg0YjEyYzAyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.1yUSSFK_1odSfXiW2RAMYldNxiXjr3JD9wKNsR5Ks6E)
Where in the product are you?
Issues
Link
No response
DSN
https://63ed691b2737c6fd97c017c3c79b4dc7@o1243174.ingest.us.sentry.io/4506735425290240
The text was updated successfully, but these errors were encountered: