paws icon indicating copy to clipboard operation
paws copied to clipboard

Location Service error: could not resolve host

Open gavinrozzi opened this issue 6 months ago • 1 comments

I am trying to use the Location Service using paws. I specified the region us-east-1 in my environment variables. When I try to use anything from the service I get the error:

Error in curl::curl_fetch_memory(url, handle = handle) : Could not resolve host:

The following R code generates this error:

location <- paws::locationservice()

location$search_place_index_for_text(
  IndexName = "HereIndex",
  Text = "[Address Redacted]",
  MaxResults = 1
)

Running the above results in:

Error in curl::curl_fetch_memory(url, handle = handle) : Could not resolve host: geo.us-east-1.amazonaws.com

gavinrozzi avatar Aug 22 '24 13:08 gavinrozzi