An error occurred: Curl error: Could not resolve host: rest Document