BadDsn in Flask


I’m new to sentry and trying to use it with Flask, it’s working fine locally once I deploy it to EC2 I get this error : raise BadDsn("Unsupported scheme %r" % parts.scheme) sentry_sdk.utils.BadDsn: Unsupported scheme ''
this how I init sentry sentry_sdk.init( dsn=environ.get('SENTERY_DSN'), integrations=[FlaskIntegration()], traces_sample_rate=1.0, )
I’m using docker-compose to deploy the app into EC2 and sentry-sdk==1.4.3 package what am I missing