Page 1 of 1

API Timeout Issues

Posted: Mon Sep 20, 2021 11:19 am
by ConsoleDev
Hi,

I have webhooks set up and when I make an API call some jobs are failing. I am investigating the logs and have found this:

error:

cURL error 6: Could not resolve host: ****.simprosuite.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://****.simprosuite.com/api/v1.0/companies/**/sites/**/customFields/

API Call:

"{\"logging_enabled\":1,\"EndpointData\":{\"{jobID}\":****,\"{companyID}\":****,\"{siteID}\":****},\"baseUrl\":\"https:\\/\\/****.simprosuite.com\",\"endpoint\":\"\\/api\\/v1.0\\/companies\\/****\\/sites\\/****\\/customFields\\/\",\"fullPath\":\"https:\\/\\/****.simprosuite.com\\/api\\/v1.0\\/companies\\/****\\/sites\\/****\\/customFields\\/\",\"method\":\"get\",\"apiCall\":{\"app_id\":7,\"app_endpoint_id\":****}}"


(the above is encoded so it isn't doing the API call with the slashes btw.

When I use postman the call returns successfully in under 500ms

Re: API Timeout Issues

Posted: Mon Sep 20, 2021 10:04 pm
by robbertcha
Hi,

Do you mind to send me a pm with your build-url and the endpoint which cause the error? I ll take a look, thank you.