Error Codes and Response
Error Code | Error Cases | Error Response |
3003 | Permission denied | { "response": { "message": "Error occurred", "uri": "/api/compensation/v1/components", "errors": { "code": 3003, "message": "You don't have permission to perform this action" }, "status": 1 } } |
7049 | No record found with specific ID | { "response": { "message": "Error occurred", "uri": "/api/compensation/v1/components/138695000000333", "errors": { "code": 7049, "message": "No record available with the specified record ID" }, "status": 1 } } |
3101 | Salary structure not enabled | { "response": { "message": "Error occurred", "uri": "/api/compensation/v1/salary/138695000000333325/components", "errors": { "code": 3101, "message": "SalaryStructure is not enabled" }, "status": 1 } } |
3118 | Parameter type missing | { "response": { "message": "Error occurred", "uri": "/api/compensation/v1/components", "errors": { "code": 3118, "message": "Please provide the Component type" }, "status": 1 } } |
3119 | Salary not present | { "response": { "message": "Error occurred", "uri": "/api/compensation/v1/mycompensation", "errors": { "code": 3119, "message": "Salary information has not yet been updated" }, "status": 1 } } |
7400 | Unable to add/update salary | { "response": { "result": { "errMsg": "Unable to add or update salary currently.Contact support@zohopeople.com for further assistance.", "errorCode": 7400, "hasError": true }, "message": "Success", "uri": "/api/compensation/v1/addsalary", "status": 0 } } |
Update date of joining | { "response": { "result": { "errMsg": "Update the joining date to be able to add or update salary", "hasError": true }, "message": "Success", "uri": "/api/compensation/v1/addsalary", "status": 0 } } | |
Effective date error | { "response": { "result": { "errMsg": "Effective date can't be a date that comes before the Date of Joining", "hasError": true }, "message": "Success", "uri": "/api/compensation/v1/addsalary", "status": 0 } } | |
Select salary package | { "response": { "result": { "errMsg": "Select a salary package", "hasError": true }, "message": "Success", "uri": "/api/compensation/v1/addsalary", "status": 0 } } | |
7200 | Valid reason for update | { "response": { "result": { "errMsg": "Enter a valid reason", "errorCode": 7200, "hasError": true }, "message": "Success", "uri": "/api/compensation/v1/updatesalary", "status": 0 } } |
7049 | "response": { "message": "Error occurred", "uri": "/api/compensation/v1/revision/100002000000041087/cancel", "errors": { "code": 7049, "message": "Unable to cancel salary revision currently.Contact Compensation Administrator for further assistance." }, "status": 1 } } | |
3116 | { "response": { "message": "Error occurred", "uri": "/api/compensation/v1/addsalary", "errors": { "code": 3116, "message": "Salary already present,Please provide valuable HTTP method." }, "status": 1 } } | |
7014 | "response": { "message": "Error occurred", "uri": "/api/compensation/v1/revisions", "errors": { "code": 7014, "message": "Please provide both fromDate and toDate values" }, "status": 1 } } | |
3114 | { "response": { "result": { "errMsg": "Please check given Package Id is valid", "errorCode": 3114, "hasError": true }, "message": "Success", "uri": "/api/compensation/v1/addsalary", "status": 0 } } | |
"response": { "result": { "errMsg": "Enter a valid currency", "hasError": true }, "message": "Success", "uri": "/api/compensation/v1/addsalary", "status": 0 } } | ||
{ "response": { "result": { "errMsg": "Enter Effective Date in correct date format'", "hasError": true }, "message": "Success", "uri": "/api/compensation/v1/updatesalary", "status": 0 } } | ||
{ "response": { "result": { "errMsg": "Salary is still being updated for this employee. You can add the next revision after the current revision is completed.", "hasError": true }, "message": "Success", "uri": "/api/compensation/v1/updatesalary", "status": 0 } } |