Instance Not Found

instance-not-found · 404

لم يعثر مسار للمشغلين على instance بهذا المعرف.

كل الصفحات

المشغلون وحدهم يصلون إلى المسارات التي ترسله. والـ resourceId يحمل المعرف الذي بحثت عنه الـ API.

إضافة إلى الحقول التي في كل خطأ، يضيف هذا النوع resourceType و resourceId.

الأسباب الشائعة

  • المعرف خاطئ: لا يطابق أي سجل.
  • أنشأ مشغل آخر الـ instance: كل مشغل يرى ما يخصه فقط.

كيف تصلح الطلب

  • اقرأ resourceId وقارنه بالقيمة التي قصدت إرسالها.
  • لا تعد المحاولة دون تغيير: النداء نفسه يعيد الـ 404 نفسه ما دام لم يتغير شيء.

مثال على الرد

json
{
  "type": "instance-not-found",
  "title": "Instance Not Found",
  "detail": "Instance with ID '0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401' was not found",
  "resourceType": "Instance",
  "resourceId": "0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401",
  "requestId": "req-1785231000000-4f7b2c9ae",
  "timestamp": "2026-07-28T09:30:00.000Z",
  "path": "/v1/admin/instances/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401",
  "method": "GET",
  "instance": "GET /v1/admin/instances/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401",
  "status": 404,
  "docs": "https://ghaym.me/docs/errors/instance-not-found"
}