How to resolve Error in curl::curl_fetch_memory(url, handle = handle) : URL using bad/illegal format or missing URL in aws.s3

I have created an aws s3-account and want to connect it to R.

Here is my code

library(aws.s3)

Sys.setenv("AWS_ACCESS_KEY_ID" = "key",
           "AWS_SECRET_ACCESS_KEY" = "secret-key",
           "AWS_DEFAULT_REGION" = "Asia Pacific (Mumbai) ap-south-1")

Error in curl::curl_fetch_memory(url, handle = handle) : 
  URL using bad/illegal format or missing URL

I am getting this error. Dont understand where the issue is.
can you guys help?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.