Nipype s3 data grabber boto not connecting

Hi ,

So I am able to connect to my s3 bucket with boto3 , but with nipype s3 data grabber which is using boto , I am unable to connect. It says credentials denied or something to that effect. I can post the error afterwards. But please let me know if anyone has faced this issue and solution.