I’m getting a persistent error for a specific address. It either returns with status 504, or status 200 but no placekey. I’m not sure what’s going wrong?
The response (sorry, using R!):
$ url : chr "https://api.placekey.io/v1/placekey"
$ status_code: int 504
$ headers :List of 12
..$ date : chr "Fri, 02 Jul 2021 17:42:48 GMT"
..$ content-length : chr "0"
..$ connection : chr "keep-alive"
..$ x-ratelimit-limit-second : chr "100"
..$ x-ratelimit-remaining-second: chr "99"
..$ x-ratelimit-limit-minute : chr "1000"
..$ x-ratelimit-remaining-minute: chr "999"
..$ x-b3-traceid : chr "ec25dd76fa054e2d92e8232ca75fb7"
..$ access-control-allow-origin : chr "*"
..$ x-kong-upstream-latency : chr "59451"
..$ x-kong-proxy-latency : chr "1"
..$ via : chr "kong/1.5.0.4-enterprise-edition"
..- attr(*, "class")= chr [1:2] "insensitive" "list"
$ all_headers:List of 1
..$ :List of 3
.. ..$ status : int 504
.. ..$ version: chr "HTTP/1.1"
.. ..$ headers:List of 12
.. .. ..$ date : chr "Fri, 02 Jul 2021 17:42:48 GMT"
.. .. ..$ content-length : chr "0"
.. .. ..$ connection : chr "keep-alive"
.. .. ..$ x-ratelimit-limit-second : chr "100"
.. .. ..$ x-ratelimit-remaining-second: chr "99"
.. .. ..$ x-ratelimit-limit-minute : chr "1000"
.. .. ..$ x-ratelimit-remaining-minute: chr "999"
.. .. ..$ x-b3-traceid : chr "ec25dd76fa054e2d92e8232ca75fb7"
.. .. ..$ access-control-allow-origin : chr "*"
.. .. ..$ x-kong-upstream-latency : chr "59451"
.. .. ..$ x-kong-proxy-latency : chr "1"
.. .. ..$ via : chr "kong/1.5.0.4-enterprise-edition"
.. .. ..- attr(*, "class")= chr [1:2] "insensitive" "list"
$ cookies :'data.frame': 0 obs. of 7 variables:
..$ domain : logi(0)
..$ flag : logi(0)
..$ path : logi(0)
..$ secure : logi(0)
..$ expiration: 'POSIXct' num(0)
..$ name : logi(0)
..$ value : logi(0)
$ content : raw(0)
$ date : POSIXct[1:1], format: "2021-07-02 17:42:48"
$ times : Named num [1:6] 0 0.0953 0.1762 0.5163 0 ...
..- attr(*, "names")= chr [1:6] "redirect" "namelookup" "connect" "pretransfer" ...
$ request :List of 7
..$ method : chr "POST"
..$ url : chr "https://api.placekey.io/v1/placekey"
..$ headers : Named chr [1:3] "application/json, text/xml, application/xml, */*" "application/json" "[api key]"
.. ..- attr(*, "names")= chr [1:3] "Accept" "Content-Type" "apikey"
..$ fields : NULL
..$ options :List of 4
.. ..$ useragent : chr "libcurl/7.64.1 r-curl/4.3.1 httr/1.4.2"
.. ..$ post : logi TRUE
.. ..$ postfieldsize: int 233
.. ..$ postfields : raw [1:233] 7b 22 71 75 ...
..$ auth_token: NULL
..$ output : list()
.. ..- attr(*, "class")= chr [1:2] "write_memory" "write_function"
..- attr(*, "class")= chr "request"
$ handle :Class 'curl_handle' <externalptr>
- attr(*, "class")= chr "response"```
The request:
```List of 2
$ query :List of 6
..$ location_name : chr NA
..$ street_address : chr "2650 RIDGE AVE EVANSTON HOSPITAL"
..$ city : chr "EVANSTON"
..$ region : chr "IL"
..$ postal_code : chr "602011718"
..$ iso_country_code: chr "US"
$ options:List of 2
..$ strict_name_match : logi FALSE
..$ strict_address_match: logi FALSE```
cc @Joshua_Clemson_RTI_International @Matthew_Brown_RTI