Skip to main content

Error Codes

In case of an error our API will return the error in the following format:

{
"errors": [
{
"message": "movie not found",
"path": [
"movie"
],
"extensions": {
"code": "MOVIE_NOT_FOUND"
}
}
],
"data": null
}

The error code can be found on errors[0].extensions.code. Below are the some of the error codes our API may return:

Error CodeDescriptionThrown In
SHOWTIME_NOT_FOUNDThe showtime cannot be found.createMovieOrderSession
EXPIRED_SHOWTIMEThe showtime has expired.createMovieOrderSession, reserveSeats
INTERNAL_ERRORInternal server error.createMovieOrderSession, reserveSeats, releaseSeats, createMovieOrder
CINEMA_UNDER_MAINTENANCEThe cinema is under maintenance.createMovieOrderSession
CINEMA_NOT_FOUNDThe cinema cannot be found.createMovieOrder
INVALID_SEAT_TO_RESERVEThe specified seat keys is invalid.reserveSeats
ORDER_SESSION_NOT_FOUNDThe order session cannot be found.createMovieOrder
ORDER_SESSION_EXPIREDThe order session has expired.createMovieOrder
ORDER_NOT_FOUNDThe order cannot be found.confirmMovieOrder
PAYMENT_NOT_FOUNDThe payment cannot be found.confirmMovieOrder
UNABLE_TO_CONFIRM_BOOKINGThe booking cannot be confirmed.confirmMovieOrder