Download_dysm failing on fastlane step with No value found for 'username'

I am calling a fastlane lane from my fastfile. My code is below, i thought download_dsyms would get the apple api session and continue the code but it doesnt. When i specify username it then asks for password. I have 2fa turned on on my account so this wont work. Any one experienced this problem and solved it please help?

            app_identifier: app_identifier,
            skip_waiting_for_build_processing: true,
# fails here at download_dsyms
            app_identifier: ENV['APP_ID'],
            version: 'latest'
            auth_token: ENV['SENTRY_AUTH_TOKEN'],
            org_slug: 'ENV['SLUG_ORG'],
            project_slug: ENV['SLUG_PROJECT']

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.