NoRegionError when running DAG which uses AWS credentials

Hello my DAG fails with the exception

 File "/usr/local/lib/python3.12/site-packages/botocore/regions.py", line 278, in _endpoint_for_partition
    raise NoRegionError()
botocore.exceptions.NoRegionError: You must specify a region.

Im using awsume to pass my AWS credentials to the local file on my machine after which Docker is mounting them and supposedly using them. I have logged into the Scheduler container and printed the mounted files with cat. The tokens were the same as in my local file:

[default]
manager = awsume
aws_access_key_id = ASIAblablaBEAT
aws_secret_access_key = ofBblabla7a
aws_session_token = IQoJbblabla
region = eu-central-1
expiration = 2024-10-07 23:45:52

Im running this on Manjaro, but im pretty sure its not related since I have another manjaro machine with the same setup which runs the DAG

PS: I had to login as root into the container to view the files because the regular user astro@45blabla got permission denied. Could it be that docker doesnt have enough permissions?

Thanks