Skip to content

Latest commit

 

History

History
68 lines (66 loc) · 2.96 KB

ERROR-CODES.md

File metadata and controls

68 lines (66 loc) · 2.96 KB

Error Codes

Web API

Web API is a FMFT.Web.Server project.
The following are the error codes returned by controllers with a content type: application/problem+json

Error Code Message
ERR001 Account not authenticated
ERR002 Account not authorized
ERR003 External login not found
ERR004 Register with login validation problem
ERR005 Register with password validation problem
ERR006 User with this email already exists
ERR007 User with this external login already exists
ERR008 User not found
ERR009 Invalid credentials
ERR010 User already has this role set
ERR011 User already has this culture set
ERR012 Add Show validation problem
ERR013 Update Show validation problem
ERR014 Show not found
ERR015 Show auditorium does not exist
ERR016 Seat not found
ERR017 Reservation not found
ERR018 Seat is already reserved
ERR019 User already created a reservation
ERR020 Auditorium not found
ERR021 This user has already confirmed email
ERR022 Secret key and user id do not match
ERR023 This user does not use password authentication
ERR024 Change user password validation problem
ERR025 Reset password validation problem
ERR026 This reset password request has already been used
ERR027 This reset password request has expired
ERR028 You have reached the limit of reset password requests. Try again later
ERR029 Reset password request not found
ERR030 Media not found
ERR031 The media file is too large
ERR032 The media file is required
ERR033 There are some non-bulk show products without SeatId
ERR034 Reservation seat not found
ERR035 Create user reservation validation problem
ERR036 Reservation is already canceled
ERR037 User account does not have a confirmed email
ERR039 You have already requested a confirm account link in the last 5 minutes. Try again later
ERR040 Show product not found
ERR041 Order not found
ERR042 Sum of order quantity does not match reserved sets count
ERR043 Sum of order quantity is too big. It must not exceed 100 for a single order
ERR044 Invalid value of ShowProductId
ERR045 Order amount must be greater than 0
ERR046 Order amount does not match order amount calculated as sum of items
ERR047 Payment provider is not supported
ERR048 Payment method is not supported
ERR049 Error when trying to register payment at payment provided
ERR050 The payment provider notification could not be verified
ERR051 One or more shows are from the past
ERR052 One or more shows are disabled
ERR053 One or more shows have not started selling
ERR054 Update Show Selling Details validation problem
ERR055 Update Show Status validation problem
ERR056 Update Show Time validation problem
ERR057 Failed to register payment at payment provider
ERR058 One or more seats are duplicate in this reservation
ERR059 One or more seat id are invalid in this reservation
ERR060 One or more seatIds are for a different show than specified
ERR061 One or more bulk products are overbooked