Access denied error to S3 bucket while running Kinesis spark streaming.

Avi711
New Contributor III

I get this below error while trying to simulate kinesis streams as mentioned in Databricks 

documentation at https://docs.databricks.com/getting-started/streaming.html

Error:

java.nio.file.AccessDeniedException:

Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID:

com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied; request: PUT https://..

Does anyone faced this issue. Any pointers will be very helpful.