Good evening , im facing some issues with my api function
i got this error with : { "data": { "skill": "rest_api", "status": "error", "tool_name": "get_cr_data", "tool_response": "{"error": "HTTPConnectionPool(host='176.97.212.75', port=5000): Read timed out. (read timeout=10)", "debug_info": {"request_details": {"method": "GET", "url": "http://176.97.212.75:5000/api/cr/\", "request_body": {}, "timestamp": "2025-12-23T14:41:15.001619Z"}, "error_details": {"error_message": "HTTPConnectionPool(host='176.97.212.75', port=5000): Read timed out. (read timeout=10)", "error_type": "ReadTimeout", "timestamp": "2025-12-23T14:41:25.038030Z"}}, "success": false}", "tool_arguments": "{"cr_no":"78695"}", "ai_delta_message": "" }, "task": "tool:execution", "type": "debug", "message": "Tool get_cr_data executed with status error" }
{
"data": {
"skill": "rest_api",
"status": "success",
"tool_name": "get_cr_data",
"tool_response": "{\"api_response\": {\"branch_no\": 1, \"cr_no\": \"{cr_no}\", \"debug\": \"Check debug_page.html file to see what the page contains\", \"error\": \"Elements found but no data extracted. Page source saved to debug_page.html for inspection.\", \"success\": false}, \"debug_info\": {\"request_details\": {\"method\": \"GET\", \"url\": \"http://176.97.212.75:5000/api/cr/{cr_no}\", \"request_body\": {}, \"timestamp\": \"2025-12-23T16:51:29.355187Z\"}, \"response_details\": {\"status_code\": 200, \"response_time\": 7.124226, \"url\": \"http://176.97.212.75:5000/api/cr/%7Bcr_no%7D\"}}, \"success\": true, \"status_code\": 200, \"is_json\": true}",
"tool_arguments": "{\"cr_no\":\"190207\"}",
"ai_delta_message": ""
},
"task": "tool:execution",
"type": "debug",
"message": "Tool get_cr_data executed with status success"
}
{
"data": {
"payload": {
"type": 7,
"message": "API Call - get_cr_data",
"streaming": true,
"extra_data": {
"tool": {
"id": "call_Fgb1MrWPilQYf1KNBwDJZyfE",
"function": {
"name": "get_cr_data",
"arguments": "{\"cr_no\":\"190207\"}"
}
},
"status": "success"
},
"content_type": "text"
}
},
"task": "message:received",
"type": "debug",
"message": "message received"
}
This issue has been fixed. To use the user parameter, please use the available suggestion variables.
is it the time limet again? @Sahil
"data": {
"skill": "rest_api",
"status": "error",
"tool_name": "get_cr_data",
"tool_response": "{\"error\": \"HTTPConnectionPool(host='176.97.212.75', port=5000): Read timed out. (read timeout=10)\", \"debug_info\": {\"request_details\": {\"method\": \"GET\", \"url\": \"http://176.97.212.75:5000/api/cr/48459\", \"request_body\": {}, \"timestamp\": \"2025-12-25T08:11:26.975452Z\"}, \"error_details\": {\"error_message\": \"HTTPConnectionPool(host='176.97.212.75', port=5000): Read timed out. (read timeout=10)\", \"error_type\": \"ReadTimeout\", \"timestamp\": \"2025-12-25T08:11:37.011011Z\"}}, \"success\": false}",
"tool_arguments": "{\"cr_no\":\"48459\"}",
"ai_delta_message": ""
},
"task": "tool:execution",
"type": "debug",
"message": "Tool get_cr_data executed with status error"
}