Error: call failed with status 401, curl_error , curl_errno 0