SDKs
Python SDK
Python SDK - Troubleshooting
1 min
this page addresses frequently asked questions and common troubleshooting topics for the abv python sdk for bug reports, please open a ticket on bug report form for general questions or support, visit our support page authentication issues ensure abv api key and abv host (if not using default host) are correctly set either as environment variables or in the abv() constructor use abv auth check() after initialization to verify credentials do not use this in production as this method waits for a response from the server no traces appearing check if tracing enabled is true (default) verify sample rate is not 0 0 ensure abv shutdown() is called or the program exits cleanly to allow atexit hooks to flush data manually call abv flush() to force data sending enable debug logging ( debug=true or abv debug="true" ) to see sdk activity and potential errors during exporting incorrect nesting or missing spans ensure you are using context managers ( with abv start as current span( ) ) for proper context propagation if manually creating spans ( abv start span() ), ensure they are correctly ended with end() in async code, ensure context is not lost across await boundaries if not using abv's async compatible methods media not appearing ensure abvmedia objects are correctly initialized and passed in input , output , or metadata check debug logs for any media upload errors media uploads happen in background threads if you encounter persistent issues, please enable debug logging to gather more information check the abv status page raise an issue to our support with details about your setup, sdk version, code snippets, and debug logs