This is my boto3 command for getting the object with a specific key from an S3 bucket:
resp = s3client.get_object(Bucket=\'<>-<>\', Key=\'MzA1MjY1Nzkz
You have a %0A at the end of your URL; that's a line separator.