Overview
The MatchRejectedReason API returns the reason why a previously submitted match request was rejected during the analysis or quality control process. When a match request cannot be processed successfully, the KoraStats system records a rejection reason.This endpoint allows external platforms to retrieve that reason so corrective actions can be taken. Typical reasons include:
- Low video quality
- Missing match sheet
- Incomplete match video
- Unsupported file format
- Incorrect match metadata
- Request identifier
- Reference identifier
- Match name
- Rejection reason code
- Rejection title
- Detailed rejection description
How This Endpoint Works
This endpoint retrieves the rejection reason associated with a match request.The API can identify the request in three different ways, depending on what identifiers your system has available.
Supported Request Identification Methods
The API supports three ways to call the endpoint:-
Using
request_id
The internal identifier created when the match request was submitted. -
Using
match_id
The internal match identifier stored in the KoraStats system. -
Using
platform_idandplatform_match_id
The identifiers used by external platforms when integrating with the KoraStats API.
Request Identification Priority
When the API receives a request, it resolves the request identifier using the following logic:- If
request_idis provided → the system uses it directly. - If
match_idis provided → the system retrieves the associated request. - If
platform_idandplatform_match_idare provided → the system:- Finds the internal match linked to the external platform match
- Retrieves the request associated with that match.
Parameters
Module API fixed and cannot be changed. Always use
api.Endpoint name. Use
MatchRejectedReason.API version. Use
V2.The request identifier created when the match request was submitted.
If provided, the API will retrieve the rejection reason directly using this identifier.
If provided, the API will retrieve the rejection reason directly using this identifier.
Internal match identifier in the KoraStats system.
If
If
request_id is not provided, the system will attempt to locate the request associated with this match.External platform identifier registered in the KoraStats integration system.
Must be used together with
Must be used together with
platform_match_id.Match identifier used by the external platform when submitting the match request.
Must be used together with
Must be used together with
platform_id.Language of the response (
en for English, ar for Arabic).Output format (
json or xml).Example Requests
Example 1 — Using Request ID
Example 2 - Using Match ID
Example 3 - Using Platform Identifiers
Response Field Description
| Field | Type | Description |
|---|---|---|
| result | string | Indicates whether the api request was processed successfully. |
| message | string | Response message describing the request result. |
| data | object | Object containing the rejection information. |
| data._type | string | Object type identifier returned by the API. |
| data.requestId | integer | Unique identifier of the submitted request. |
| data.reference_id | string | External reference identifier associated with the request. |
| data.match_name | string | Match name associated with the rejected request. |
| data.reject_reason | object | Object describing the rejection reason. |
| data.reject_reason.id | integer | Identifier of the rejection reason. |
| data.reject_reason.code | string | Unique rejection reason code. |
| data.reject_reason.title | string | Short title describing the rejection reason. |
| data.reject_reason.description | string | Detailed explanation of the rejection reason. |
Rejection Reason Codes
The following codes describe why a match request may be rejected during processing.- Video Issues
- Team Kits
- Weather Conditions
- Client Issues
VID001 — Low Resolution
VID001 — Low Resolution
The video resolution is too low to clearly identify players or actions.
VID002 — Unsupported File Format
VID002 — Unsupported File Format
The uploaded file format is incompatible with the analysis or playback system.
VID003 — Low Bitrate
VID003 — Low Bitrate
The video has an insufficient bitrate, causing compression artifacts and loss of detail.
VID004 — Blurry or Out of Focus
VID004 — Blurry or Out of Focus
The footage is optically blurred or not properly focused, making it difficult to analyze gameplay.
VID005 — No Zoom on Action
VID005 — No Zoom on Action
The camera fails to zoom in on the active play, resulting in players appearing too small.
VID006 — Poor Camera Tracking
VID006 — Poor Camera Tracking
The camera does not follow the ball or gameplay properly, missing key moments of action.
VID007 — Missing Game Footage
VID007 — Missing Game Footage
Significant portions of the match are not captured in the recording.
VID008 — Dirty Lens
VID008 — Dirty Lens
Dirt, water, or smudges on the lens obscure the view of the field.
VID009 — Low Camera Height
VID009 — Low Camera Height
The camera is placed too low (below 6 meters), resulting in a poor perspective of the pitch.
VID010 — Off-Center Camera Placement
VID010 — Off-Center Camera Placement
The camera is not aligned with the center of the pitch, causing distortion or misalignment.
VID011 — Incomplete Pitch Coverage
VID011 — Incomplete Pitch Coverage
Some areas of the pitch are not visible due to obstruction or poor camera angle.
VID012 — Backlight or Lens Glare
VID012 — Backlight or Lens Glare
Lighting conditions create glare, shadows, or reduced visibility due to backlighting.