POST request to Veev Vault Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached: [amgencdocs.veevavault.com] Connection timed out after 10001 milliseconds #666
Relatively simple POST request to veeva vault is timing out after 10 seconds. Below is the cURL im trying to code up in R.
The Query is Veeva Vault Query language.
curl --location --request POST 'https://amgencdocs.veevavault.com/api/v20.1/query' \
--header 'Authorization: session_Id' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'q=SELECT id FROM documents'
POST_SESSION <- POST("http://amgencdocs.veevavault.com/api/v20.1/query",
add_headers("Authorization" = session_Id,
"Content-Type" = "application/x-www-form-urlencoded"),
body = ("q = SELECT id FROM documents"))
content(POST_SESSION)
The error im getting is:
POST request to Veev Vault Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached: [amgencdocs.veevavault.com] Connection timed out after 10001 milliseconds
A post request to get the session_Id token works fine and so do various GET requests, so I'm not sure why this one is timing out, any help would be appreciated.
Relatively simple POST request to veeva vault is timing out after 10 seconds. Below is the cURL im trying to code up in R. The Query is Veeva Vault Query language.
The error im getting is:
A post request to get the session_Id token works fine and so do various GET requests, so I'm not sure why this one is timing out, any help would be appreciated.