Hi
@Monika_Bagyal
,
The "Access Denied" error you are seeing is likely due to insufficient permissions to read the S3 bucket.
The configurations you've set up are correct for accessing S3 using temporary AWS credentials, but the credentials themselves or the permissions associated with those credentials might not have sufficient access to the S3 bucket.
Here are some possible solutions:
1. **Check your AWS credentials**: Ensure that the access_id, access_key, and session_token you are using are correct and have not expired.
2. **Check your AWS permissions**: The AWS credentials you are using should have the necessary permissions to read the S3 bucket. You might need to adjust your AWS IAM policies to allow access to the S3 bucket.
3. **Check your bucket policy**: Your S3 bucket policy should allow your AWS credentials to read data. You might need to adjust your bucket policy to allow access.
4. **Check your endpoint**: Make sure the endpoint you are using is correct. It should match the region where your S3 bucket is located.
If you've checked all of these and you're still having issues, it might be a more specific issue related to your setup, and you might need to contact Databricks support by filing a support ticket or AWS support for further assistance.