Bucket Object Delete Failed

bucket-object-delete-failed · 502

رفض المخزن حذف الملف، فالملف ما زال موجودا ولم يسجل شيء.

كل الصفحات

الـ storeCode هو رمز الخطأ الذي أعطاه المخزن، و null عندما لا يعطي شيئا. والملف الذي كان قد حذف أصلا ليس خطأ: حذفه ينجح.

إضافة إلى الحقول التي في كل خطأ، يضيف هذا النوع code، bucketId، key و storeCode.

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

  • كان المخزن مشغولا أو معطلا في تلك اللحظة.
  • رفض المخزن الـ key لسبب لديه، يسميه الـ storeCode.

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

  • أعد الحذف بعد قليل: حذف الملف مرتين آمن.
  • وإذا استمر الفشل بالـ storeCode نفسه، فأخبر المستخدم واذكر detail.

مثال على الرد

json
{
  "type": "bucket-object-delete-failed",
  "title": "Bucket Object Delete Failed",
  "detail": "The store refused to delete 'uploads/report.pdf' from bucket '0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401'",
  "code": "BUCKET_OBJECT_DELETE_FAILED",
  "bucketId": "0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401",
  "key": "uploads/report.pdf",
  "storeCode": "InternalError",
  "requestId": "req-1785231000000-4f7b2c9ae",
  "timestamp": "2026-07-28T09:30:00.000Z",
  "path": "/v1/buckets/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/objects",
  "method": "DELETE",
  "instance": "DELETE /v1/buckets/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/objects",
  "status": 502,
  "docs": "https://ghaym.me/docs/errors/bucket-object-delete-failed"
}