ENV var isn't picked up

Hello, I have a django project in which I’m try to integrate sentry. This’s the code to use sentry

env = environ.Env(
    # set casting, default value
    DEBUG=(bool, False)
)
SENTRY_DSN = env("SENTRY_DSN")
sentry_sdk.init(
    dsn=SENTRY_DSN,
    send_default_pii=True,
)

I use an environment group to populate all env vars in project. So every other env var works except this one and no idea why. It’s added in the same way to environment group