This is the last live domain here, and the ghaym.app address is off. Turn it on first.

last-domain-custom-only · 409

الـ domain هو آخر domain يعمل لبيئة لا تجيب إلا على الـ domains الخاصة بها، فأبقته الـ API بدل أن تترك الخدمة دون عنوان.

كل الصفحات

الـ hostname يسمي الـ domain. والـ domain الذي لا يعمل لا يأخذ معه عنوانا، فيزال دائما. والتغيير المجهز للـ domains فقط لا يمنع الإزالة، وتطبيقه يفحص من جديد.

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

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

  • البيئة لا تجيب إلا على الـ domains الخاصة بها، وقد وضعت بـ --reach custom-domain، وهذا الـ domain الوحيد الذي يعمل فيها.
  • أخذت إزالة أخرى الـ domain الآخر الذي يعمل للبيئة من قبل.

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

  • أعد تشغيل عنوان ghaym.app عبر ghaym cloud access set <service> --reach public --env <env>، وطبقه، ثم أزل الـ domain.
  • أو اجعل الخدمة خاصة أولا عبر --reach private، إذا لم يكن هناك ما يلزم أن يصل إليها من خارج المشروع.
  • أو أضف الـ domain الجديد وتحقق منه قبل أن تزيل القديم.

مثال على الرد

json
{
  "type": "last-domain-custom-only",
  "title": "This is the last live domain here, and the ghaym.app address is off. Turn it on first.",
  "detail": "shop.example.com is the last live domain of an environment open on its custom domains only; turn the ghaym.app address back on or make it private first",
  "hostname": "shop.example.com",
  "requestId": "req-1785231000000-4f7b2c9ae",
  "timestamp": "2026-07-28T09:30:00.000Z",
  "path": "/v1/services/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/domains/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad402",
  "method": "DELETE",
  "instance": "DELETE /v1/services/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/domains/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad402",
  "status": 409,
  "docs": "https://ghaym.me/docs/errors/last-domain-custom-only"
}