Skip to content
العربية

Errors

Errors come as {"error": {"code", "message", "message_ar"}}, with the message in English and Arabic.

booking_refused and customer_refused add reasons: the error codes the owner portal shows for the same refusal, such as BOOKING_CONFLICT_EXISTS or BOOKING_STAFF_NOT_SCHEDULED. Three are the API’s own: HOME_VISIT_UNSUPPORTED, for home visits, which apps can’t book or move yet; BOOKING_HELD_FOR_PAYMENT, for a booking waiting for the customer’s online payment; and BOOKING_NOT_EDITABLE, for a change other than notes to a booking that is no longer booked.

HTTPCodeMessage
401missing_tokenSend an access token in the Authorization header as Bearer <token>.يلزم إرسال رمز الوصول في ترويسة Authorization بالصيغة Bearer <token>.
401invalid_tokenThe access token is invalid or has expired.رمز الوصول غير صالح أو انتهت صلاحيته.
403business_inactiveThis business is not active on razza.هذه المنشأة غير مفعّلة في رزّة.
403plan_requiredThe Open API is part of the Qimma plan.الواجهة البرمجية المفتوحة متاحة في باقة قمّة.
403subscription_lockedThis business's razza subscription has an unpaid invoice, so the API is paused.على اشتراك المنشأة في رزّة فاتورة غير مدفوعة، لذا الواجهة البرمجية متوقفة مؤقتاً.
403permission_requiredThis app doesn't have the {permission} permission.لا يملك هذا التطبيق صلاحية {permission}.
403restrictedThis app has the {restriction} restriction, which doesn't allow this.على هذا التطبيق القيد {restriction}، ولا يسمح بهذا الطلب.
429rate_limitedToo many requests. Try again in {seconds} seconds.تجاوز عدد الطلبات الحد المسموح. يمكن المحاولة مجدداً بعد {seconds} ثانية.
400invalid_cursorThe cursor is not one this API gave.قيمة المؤشر cursor ليست من هذه الواجهة.
400invalid_parameterThe {parameter} parameter is not valid.قيمة المعامل {parameter} غير صالحة.
400unknown_parameterThis endpoint has no {parameter} parameter.لا يقبل هذا الطلب المعامل {parameter}.
400invalid_bodySend a JSON object as the request body.يلزم إرسال كائن JSON في جسم الطلب.
422idempotency_key_reusedThis Idempotency-Key was already used for a different request.استُخدم مفتاح Idempotency-Key هذا لطلب مختلف من قبل.
422booking_refusedrazza refused this booking. The reasons field lists why.رفضت رزّة هذا الحجز. يوضّح الحقل reasons السبب.
412booking_changedThe booking changed after you read it. Fetch it again and send its new version in If-Match.تغيّر الحجز بعد قراءته. يلزم جلبه مجدداً وإرسال نسخته الجديدة في If-Match.
422customer_refusedrazza refused this change to the customer. The reasons field lists why.رفضت رزّة هذا التعديل على العميل. يوضّح الحقل reasons السبب.
400webhook_urlThe webhook URL must be https and reach a public address.يجب أن يبدأ عنوان الـ webhook بـ https وأن يصل إلى عنوان عام.
409webhook_limitThis app already has the most webhook endpoints it may have ({limit}).لدى هذا التطبيق الحد الأقصى من عناوين الـ webhook ({limit}).
404not_foundNot found.غير موجود.
405method_not_allowedThis method isn't allowed here.هذه الطريقة غير مسموحة هنا.
400invalid_requestSend grant_type, client_id and client_secret.يلزم إرسال grant_type وclient_id وclient_secret.
401invalid_clientThe client ID or secret is wrong, or the app was revoked.معرّف التطبيق أو المفتاح السري غير صحيح، أو أُلغي التطبيق.
429too_many_requestsToo many token requests from this address. Try again in an hour.تجاوز عدد طلبات الرمز من هذا العنوان الحد المسموح. يمكن المحاولة مجدداً بعد ساعة.
400unsupported_grant_typeOnly the client_credentials grant is supported.النوع المدعوم هو client_credentials فقط.