Event Failure Response
Triggered when an asynchronous event fails to complete.
Error Recovery
Always listen for this event to implement retry logic or alert users of a failed task.
توصيات
Include the error code in your logs for technical troubleshooting.
Asynchronous Failure
Indicates that an async operation could not be completed.
Fields
- requestId: The ID of the failed request.
- error: Error details describing what went wrong.
الردود المتوقعة
استكشف كافة الردود والنتائج المحتملة من الخادم. قمنا بتوثيق كل كود حالة (Status Code) مع أمثلة للبيانات لتسهيل معالجة الأخطاء والنجاح.
application/json
Example
{
"id": "evt_01...",
"timestamp": 1634567890123,
"session": "default",
"metadata": {
"user.id": "123",
"user.email": "email@example.com"
},
"engine": "WEBJS",
"event": "event.response.failed",
"payload": {
"requestId": "req_002",
"error": "TIMEOUT_ERROR"
},
"me": {
"id": "11111111111@c.us",
"lid": "123@lid",
"pushName": "Instance"
}
}محتويات الصفحة
Command Palette
Search for a command to run...