Error Codes
Following are the internal error codes of Consent Management Microservice.
|
Error Codes |
Error Messages |
|---|---|
|
CMS-0010 |
Consent Given Field supports YES or NO values only |
|
CMS-0011 |
Date Format is not supported,use dd/MM/yyyy HH:mm:ss |
|
CMS-0012 |
Consent Record Already Exists |
| 200 | Success |
| 505 | Internal Server Error |
| 400 |
Unable to retrieve data / Consent Record Not Found / Consent Transformation Failed / Request Body is Missing / ConsentType is Missing in Params / ConsentType in Request Body is Missing |
|
Error Codes |
Error Messages |
|---|---|
|
COMS-404 |
%s Record Not Found |
|
COMS-405 |
No Records Found %s |
|
COMS-401 |
Unable to fetch %s record. |
| COMS-402 | Unable to persist %s record. |
| COMS-409 | %s Record ALREADY EXISTS |
| COMS-101 | %s is Missing in Params |
| COMS-102 | Request Body is missing |
| COMS-103 | Mandatory %s is missing |
| COMS-104 | Invalid value for %s. |
| COMS-105 | Foreign key not found in %s. |
| COMS-106 | Value mismatch for the field %s |
| COMS-107 | Record cannot be deleted from %s |
| COMS-108 | Too many parameters |
| COMS-109 | %s cannot be updated |
In this topic