MALFORMED_JSON | 400 | no | The request body is not valid JSON. |
UNSUPPORTED_MEDIA_TYPE | 415 | no | Send application/json. |
PAYLOAD_TOO_LARGE | 413 | no | The request body is over 1 MB. |
UNKNOWN_FIELD | 400 | no | A field in the request is not accepted here. |
UNKNOWN_PARAMETER | 400 | no | A query parameter is not accepted here. |
MISSING_FIELD | 400 | no | A required field is missing. |
INVALID_TYPE | 400 | no | A field has the wrong type. |
INVALID_ENUM | 400 | no | The value is not one of the allowed values. |
INVALID_ID | 400 | no | Ids must be UUIDs. |
INVALID_DATE | 400 | no | Dates are YYYY-MM-DD and must exist on the calendar. |
INVALID_TIMESTAMP | 400 | no | Timestamps are RFC 3339 with an offset. |
INVALID_RANGE | 400 | no | The start must not be after the end. |
RANGE_TOO_WIDE | 400 | no | The date range is wider than allowed for this list. |
INVALID_PHONE | 400 | no | Enter a mobile number with the country code. |
INVALID_EMAIL | 400 | no | Enter a valid email address. |
INVALID_CNIC | 400 | no | Identity numbers look like 12345-1234567-1. |
INVALID_MONEY | 400 | no | Amounts are strings with two decimals, for example 12500.00. |
CURRENCY_MISMATCH | 400 | no | The currency must match the school's currency. |
INVALID_NAME | 400 | no | Names are 2 to 80 letters, spaces, apostrophes and hyphens. |
INVALID_CODE | 400 | no | Codes are capital letters, digits, underscores or hyphens. |
INVALID_TEMPLATE | 400 | no | Only {student}, {invoice}, {amount} and {due_date} may appear in braces. |
INVALID_URL | 400 | no | Webhook URLs must be https and public. |
LOW_CONTRAST | 400 | no | Text on that color would be hard to read. Pick a darker main color or a lighter accent. |
INVALID_CURSOR | 400 | no | The page cursor is not valid for this list. |
INVALID_PAGE_SIZE | 400 | no | Page size is 1 to 200. |
TEXT_TOO_LONG | 400 | no | The text is longer than allowed. |
TEXT_TOO_SHORT | 400 | no | The text is shorter than allowed. |
OUT_OF_RANGE | 400 | no | The number is outside the allowed range. |
DUPLICATE_ITEM | 400 | no | The same item appears twice in the list. |
AMBIGUOUS_CREDENTIALS | 400 | no | Send either a bearer token or an API key, not both. |
UNAUTHENTICATED | 401 | no | Sign in or send an API key. |
TOKEN_EXPIRED | 401 | yes | The session token has expired; refresh it. |
KEY_REVOKED | 401 | no | This API key has been revoked. |
NOT_ALLOWED | 403 | no | You are not allowed to do that. |
ACCESS_REQUIRED | 403 | no | This needs the admin site. Open it and sign in there, then try again. |
SECOND_FACTOR_REQUIRED | 403 | no | Admin work needs your two-step code. Enter it when asked; if you have no authenticator yet, add one under Manage account, then Security. |
STEP_UP_REQUIRED | 403 | yes | Please confirm it is you (your second step) before doing this, then try again. |
SCOPE_MISSING | 403 | no | The API key lacks the scope for this request. |
SCHOOL_REQUIRED | 400 | no | A platform key must name the school it works in with the X-School-Id header. |
READ_ONLY | 403 | no | You are viewing as someone else in read-only mode. |
WRONG_SCHOOL | 403 | no | That record belongs to another school. |
NOT_FOUND | 404 | no | Not found, or not visible to you. |
SECTION_FULL | 409 | no | This section is full. Raise the capacity or pick another section. |
DUPLICATE_ADMISSION_NO | 409 | no | That admission number is already in use. |
AGE_OUT_OF_RANGE | 409 | no | The student's age is outside the class's range. |
IMMUTABLE_FIELD | 409 | no | That field cannot change after creation. |
HAS_SECTIONS | 409 | no | Delete the sections first. |
HAS_STUDENTS | 409 | no | Move the students first. |
CLASH | 409 | no | A teacher is in two sections at the same time. |
SHIFT_LIMIT | 409 | no | A school can have up to 8 shifts. |
SHIFT_IN_USE | 409 | no | Sections or a published timetable still use this shift. |
SHIFT_MAIN | 409 | no | The main shift cannot be removed; make another shift the main one first. |
VERSION_EXISTS | 409 | no | This shift already has planned changes. |
VERSION_LIVE | 409 | no | Live bell times cannot be edited; plan changes and publish them from a date. |
VERSION_REQUIRED | 409 | no | This change needs planned changes for the shift. |
HAS_LESSONS | 409 | no | A published lesson is in a block or on dates you are removing. |
BLOCK_ORDER | 400 | no | Blocks overlap or go backwards. |
DATE_IN_PAST | 400 | no | Changes can start today at the earliest. |
LESSON_NOT_ALLOWED | 409 | no | That is a break, a closed day or a period that does not exist. |
TIMING_TIMES | 400 | no | A timing must give a time for every block of the day. |
DOUBLE_BREAK | 409 | no | A double period cannot run across a break. |
COMBINED_SHIFT | 409 | no | Sections taught together must be in the same shift. |
COVER_CLASH | 409 | no | That teacher is no longer free then. |
MARKS_TOO_HIGH | 409 | no | Marks cannot exceed the column maximum. |
PUBLISHED | 409 | no | This column is published and locked. |
FUTURE_DATE | 409 | no | The date cannot be in the future. |
NOTE_REQUIRED | 409 | no | An excused absence needs a note. |
REGISTER_INCOMPLETE | 409 | no | Every student in the section needs a status. |
UNKNOWN_STUDENT | 409 | no | A student in the list is not in this section. |
NO_ACADEMIC_YEAR | 409 | no | Set up an academic year covering this month first. |
ALREADY_INVOICED | 409 | no | An invoice already exists for that student and month. |
HAS_PAYMENTS | 409 | no | Reverse the payments before voiding this invoice. |
INVOICE_VOID | 409 | no | A voided invoice cannot be changed. |
INVOICE_NOT_OPEN | 409 | no | That invoice is not open for payment. |
LOCKED | 409 | no | This record is locked (period closed). |
PERIOD_CLOSED | 409 | no | That month is closed. Date the entry in an open month, or ask a school admin to reopen it. |
ON_HOLD | 409 | no | This record is on hold and cannot be changed until the hold is released. |
ALREADY_HELD | 409 | no | A hold is already in place. |
RECEIPT_IMMUTABLE | 409 | no | Receipts are never edited or deleted; reverse the payment instead. |
OVER_ALLOCATED | 409 | no | Allocations exceed the payment amount. |
BAD_AMOUNT | 409 | no | Enter an amount above zero. |
SELF_APPROVAL | 409 | no | You cannot approve a discount you requested. |
SECOND_APPROVER_REQUIRED | 409 | no | A different office member must give the second approval. |
ALREADY_DECIDED | 409 | no | This request has already been decided. |
MIXED_FAMILIES | 409 | no | All children on one proof must be on the same family account. |
TOO_MANY | 409 | no | You have uploaded 10 proofs today. Try again tomorrow. |
CHECKSUM_MISMATCH | 409 | no | The uploaded file does not match the declared checksum. |
SECOND_PERSON_REQUIRED | 409 | no | A legal hold must be released by someone other than the person who placed it. |
REASON_REQUIRED | 409 | no | A reason is required and is recorded. |
IDEMPOTENCY_MISMATCH | 409 | no | This Idempotency-Key was used with a different request. |
IDEMPOTENCY_IN_PROGRESS | 409 | yes | A request with this Idempotency-Key is still running. Retry in a few seconds to get its result. |
WEBHOOK_UNREACHABLE | 409 | yes | The endpoint did not answer the test event with 2xx within 5 seconds. |
DUPLICATE_KEY_NAME | 409 | no | An API key with that name already exists. |
RATE_LIMITED | 429 | yes | Too many requests. Wait and retry. |
NOT_SIGNED_IN | 401 | no | Your session could not be verified. Please sign in again. |
NOT_INVITED | 403 | no | This sign-in is not linked to any school yet. Ask your school office to add you, then sign in again. |
NOT_A_MEMBER | 403 | no | You do not hold that role at that school. |
NO_SCHOOL | 403 | no | Choose a school first; this action needs an active school. |
NO_SUCH_USER | 404 | no | That account could not be found. |
DISABLED | 403 | no | This feature is switched off on this platform. |
ALREADY_ACTIVE | 409 | no | Exit the current View-as session first. |
ALREADY_EXTENDED | 409 | no | A View-as session can be extended once. Exit and start a new one. |
NO_SESSION | 409 | no | There is no View-as session open. |
BAD_MODE | 400 | no | Mode must be read_only or full. |
BAD_ENTITY | 400 | no | That kind of record cannot be used here. |
BAD_PATH | 400 | no | The file is not in the folder this record expects. |
NO_DELETE | 409 | no | This record is never deleted. Void or reverse it with a reason instead. |
TOO_OLD | 409 | no | This record is too old to change here. Ask the office. |
INTERNAL | 500 | yes | Something went wrong on our side. Report the request id. |
UPSTREAM_UNAVAILABLE | 503 | yes | A dependency is unavailable. Retry with backoff. |
INVALID_STATE | 409 | no | That action does not apply to the record in its current state. |
MAINTENANCE | 503 | yes | This school is in maintenance. Changes are paused for a short while; reading still works. |
INVALID_LINE | 400 | no | A line of the file could not be read. |
DUPLICATE_DEPOSIT | 409 | no | This deposit looks like one already recorded. |
SEATS_FULL | 409 | no | Every seat in this class is taken for that year. Waitlist the child, or offer anyway with a reason. |
LEAVE_BALANCE | 409 | no | Not enough leave left of that type for those days. |
LEAVE_OVERLAP | 409 | no | Leave is already asked for or approved on some of these days. |
MESSAGING_NOT_ALLOWED | 403 | no | The school's rules do not allow this message. |
MESSAGING_PAUSED | 403 | no | The school has paused this person's messages. |
BLOCKED_WORDS | 400 | no | The text has words the school does not allow. |
SLIP_CLOSED | 409 | no | The permission slip is closed or cancelled. |
ITEM_NOT_SKIPPABLE | 409 | no | Every school needs this getting started item, so it cannot be skipped. |
IMPORT_TOO_LARGE | 400 | no | The file has more than 2000 rows. Split it into smaller files. |
IMPORT_HAS_ERRORS | 409 | no | Some rows have errors, so nothing was loaded. Fix them in the file, or choose to skip rows with errors. |
ISSUE_LIMIT | 429 | no | You have sent 10 problem reports today. Please try again tomorrow, or add to one of your open reports. |
HELP_VIEW_AS | 403 | no | The help buddy is off while you view as someone else. Stop viewing as them to ask. |
BOARD_LINK_ENDED | 410 | no | This board link was turned off or has expired. |
PLAN_EMPTY | 409 | no | Write the note or at least one goal before publishing the weekly plan. |
TICK_CLOSED | 409 | no | Goals can be ticked until the Monday after the week. |
ROTA_TOO_LONG | 400 | no | A duty rota is at most 12 weeks. |
FLEX_CLOSED | 409 | no | Flex choices for that day have closed. |
FLEX_FULL | 409 | no | That Flex session is full. |
FLEX_REQUESTED | 409 | no | A teacher has asked for this student in this Flex block. |
JOURNAL_CLOSED | 409 | no | Journal entries can be added during the work cycle. |
ADD_ON_OFF | 403 | no | This add-on (the Quran Madrasa, Learn or the saMas Charity link) is not on for this school; a school admin turns it on under Settings, Add-ons. The hint names which. |
PROGRAM_INVALID | 400 | no | A Quran program is qaida, nazra, hifz, tajweed or qiraat. |
NOT_ENROLLED | 409 | no | The student is not enrolled in a Quran program. |
PART_INVALID | 400 | no | That lesson part does not fit the student's program. |
RANGE_INVALID | 400 | no | Surah 1 to 114 and ayahs inside the surah, from before to. |
WORD_INVALID | 400 | no | That word is not in the ayah (words count from 0). |
JUZ_NOT_MEMORIZED | 409 | no | Mark the juz memorised before recording its test. |
CODE_EXISTS | 409 | no | This halaqa already has an open class code; share it or end it first. |
CODE_INVALID | 404 | no | No class code matches; codes never use 0, O, 1 or I. |
CODE_EXPIRED | 410 | no | This class code has ended; ask the teacher for a new one. |
CODE_USED | 409 | no | This class code has been used as many times as allowed. |
CLAIM_EXPIRED | 410 | no | The claim took longer than 15 minutes or was already used; enter the code again. |
LINK_EXISTS | 409 | no | This student or app account already has a pending or active link with this app. |
LINK_PENDING | 403 | no | The parent has not approved the link yet; nothing is shared until they do. |
NOT_LINKED | 403 | no | This account is not linked to a student at this school. |
LINK_NOT_PENDING | 409 | no | This link was already answered or has expired. |
NO_GUARDIAN | 409 | no | The student has no parent on record; the office adds one before a link can be approved. |
AYAH_INVALID | 400 | no | An ayah does not exist in the Hafs count. |
DATE_TOO_OLD | 400 | no | Practice days can be posted up to 90 days back and never in the future. |
ASSIGNMENT_CLOSED | 409 | no | This homework is already graded or withdrawn; a new recording needs a repeat grade or a new lesson. |
RECITATION_TOO_LONG | 400 | no | A recitation can be up to 20 minutes (60 for a juz test, 2 for a model reading). |
RECITATION_TOO_LARGE | 400 | no | A recitation file can be up to 40 MB; use a lower bitrate. |
CONTENT_TYPE_INVALID | 400 | no | Audio must be audio/mp4, audio/aac, audio/ogg, audio/webm or audio/mpeg. |
UPLOAD_INCOMPLETE | 409 | no | Not every part of the upload arrived; send the missing parts and submit again. |
ALREADY_REVIEWED | 409 | no | This recitation already has feedback; a second attempt is reviewed on its own. |
RIWAYAH_LOCKED | 409 | no | The student must complete the riwayah before this one (and pass its juz tests when the school requires) first. |
RIWAYAH_IN_USE | 409 | no | Students are enrolled in this riwayah; it cannot be turned off. |
RIWAYAH_NOT_COMPLETE | 409 | no | Mark the riwayah completed before granting an ijazah in it. |
SANAD_MISSING | 409 | no | The teacher's sanad must be written and confirmed by the office first. |
LEARN_COURSE_TITLE | 400 | no | A course title is 2 to 120 characters. |
LEARN_COURSE_CODE_LONG | 400 | no | A course code is up to 20 characters. |
LEARN_TOO_MANY_PICTURES | 409 | no | A day of notes holds up to 12 pictures. |
LEARN_STAFF_ACCESS_OFF | 403 | no | Staff access to scholars' notes is off for this school; a school admin turns it on under Learn settings once the scholars have been told. |
LEARN_LINK_INACTIVE | 404 | no | This link is no longer active. |
LEARN_ASK_LIMIT | 409 | no | You have asked for 2 new versions today. |
LEARN_GUIDE_NEEDS_PICTURES | 409 | no | A study guide is made from the note's pictures, and this note has none yet. |
LEARN_GUIDE_STALE | 409 | no | The scholar's pictures changed since this guide was made. |
LEARN_GUIDE_PICTURES_MISSING | 409 | no | A page of the guide was not uploaded. |
CLAIM_OPEN | 409 | no | You already told the office about this invoice; they are matching it. |
REFERENCE_REQUIRED | 422 | no | For a transfer or a cheque, give the transaction or cheque number, or add a picture of the slip. |
INVALID_AMOUNT | 422 | no | Enter the amount you paid, in whole rupees. |
INVALID_FORMAT | 422 | no | Leave the email empty, or write one such as [email protected]. |
ADMISSION_NO_TAKEN | 409 | no | That admission number is already a student's; the next free one is in the details. |
ROLL_NO_TAKEN | 409 | no | That roll number is already a student's in this section; the next free one is in the details. |
GUARDIAN_PHONE_IN_USE | 409 | no | That phone number already belongs to a parent at this school; link them instead of adding a new one. |
DAY_CLOSED | 422 | no | The school is closed on that day; the next school day is in the details. |
ATTENDANCE_PHOTO_UNREADABLE | 422 | no | The photo could not be read well enough; take it again in better light, flat and close. |
PICTURE_REQUIRED | 400 | no | A release needs 1 to 3 pictures of it working. |
SAME_ITEM | 409 | no | An item cannot be merged into itself. |
LIMIT | 409 | no | The machine has proposed five roadmap items this run already. |
SITE_LIMIT | 429 | no | We have had a lot of these from one place today. Please try again tomorrow. |
SITE_NOT_ELIGIBLE | 409 | no | This school cannot be listed on samas.school yet: its set-up is not finished, no attendance has been taken, or it is a demo or test school. |
ONBOARDING_DONE | 409 | no | Set-up is finished. Change things from Settings instead. |
LIVE_LINK_HOST | 400 | no | A live-class link is an https link on zoom.us, meet.google.com or meet.jit.si, 300 characters at most. |
SELF_ATTENDANCE_OFF | 409 | no | This school has not turned on students marking themselves present from a live class. |
NOT_LIVE_NOW | 409 | no | I'm here works only while the live class is on: from 10 minutes before it starts until it ends. |
LIVE_ADDON_OFF | 403 | no | Live Sabaq is not on for this school; a school admin turns on the Quran Madrasa, then Live Sabaq, under Settings, Add-ons. |
LIVE_DISABLED | 403 | no | Live Sabaq is paused for this school or for saMas School just now. |
LIVE_NOT_ON_ROSTER | 403 | no | Only the teacher, the student and the student's family join this live session. |
LIVE_NOT_STARTED | 409 | yes | The teacher has not started this live session yet. |
LIVE_ENDED | 409 | no | This live session is over. |
LIVE_CANCELLED | 409 | no | This live session was cancelled. |
LIVE_ALREADY_LIVE | 409 | no | This live session is already live. |
LIVE_TOO_EARLY | 409 | yes | A live session can start from 10 minutes before its time. |
LIVE_NO_CONSENT | 403 | no | A guardian has not given consent for live sessions and recording yet. |
LIVE_CAP_REACHED | 403 | no | The school has used its live minutes for this month. |
LIVE_RECORDING_CAP | 403 | no | The school has used its recorded minutes for this month, and every one-to-one session is recorded. |
LIVE_STORAGE_FULL | 403 | no | The school's storage for live recordings is full. |
LIVE_TEACHER_DAY_LIMIT | 403 | no | The teacher has reached the school's limit of live minutes for today. |
LIVE_ROOMS_FULL | 409 | yes | The school already has as many live sessions open as it allows at once. |
LIVE_SESSION_TIME_UP | 409 | no | The live session's time is up. |
LIVE_GENDER_RULE | 409 | no | The school asks for a female teacher for girls in live sessions. |
LIVE_PROVIDER_DOWN | 503 | yes | The live audio service did not answer. Try again in a minute. |
LIVE_RECORDING_NOT_READY | 409 | yes | The recording is still being saved. |
LIVE_REASON_REQUIRED | 400 | no | Say why you are playing this child's recording; the family is told. |
LIVE_WEBHOOK_UNVERIFIED | 401 | no | The event's signature did not verify. |
LIVE_NOT_RECORDING | 409 | yes | The live sabaq is not being recorded: the teacher's microphone or recorder is not running. |
LIVE_HELD | 409 | no | This session has an open report or its recording is held; close the report or release the hold first. |
LIVE_ARCHIVED | 404 | no | The school office archived this live session. |
LIVE_NOT_OVER | 409 | no | Only a live session that ended, was missed or was cancelled can be archived. |