-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Python ASGI documentation causes errors in FastAPI #5272
Comments
Routing to @getsentry/team-web-sdk-backend for triage. ⏲️ |
Hey @minboost, until now Sentry didn't have a native support for FastAPI so users had to use our ASGI integration. Well, worry no more! 💪 This week, we will release a beta version of FastAPI integration and I recommend you give it a try and see whether it resolves this issue for you or not. If curious, you can always check our FastAPI milestone for checking what will come up. |
Updated labels based on the above. If it's wrong please let me know! |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Documentation was updated. |
Core or SDK?
Platform/SDK
Which part? Which one?
https://docs.sentry.io/platforms/python/guides/asgi/
Description
Integrating with FastAPI with the following line throws various errors, depending on what is implemented
Some errors could include:
Integrating the middleware as described in the FastAPI docs fixes the problem:
Suggested Solution
Update the documents with an example for FastAPI and/or a note that some ASGI middleware must be installed differently than shown in the example.
The text was updated successfully, but these errors were encountered: