@Vrushank | Portkey also I would like to ask you about how could I debug the Guardrail. I've enabled it and setup it. But I'm getting and error and I don't know how to get more information about it.
I get this response:
"hook_results": {
"before_request_hooks": [
{
"verdict": true,
"id": "pg-pangea-0a785b",
"checks": [
{
"error": {
"name": "HttpError",
"message": "HTTP error! status: 400"
},
"verdict": false,
"data": null,
"id": "pangea.textGuard",
"execution_time": 334,
"created_at": "2025-01-15T20:37:46.569Z"
}
],
"feedback": {
"value": 5,
"weight": 1,
"metadata": {
"successfulChecks": "",
"failedChecks": "",
"erroredChecks": "pangea.textGuard"
}
},
"execution_time": 334,
"async": false,
"type": "guardrail",
"created_at": "2025-01-15T20:37:46.569Z",
"deny": false
}
]
}
So I only get the 400 error.
I've read the logs and they show me that there were an error but don't know what failed. I mean in the
Logs
sections on
Guardrails & Feedback