Troubleshooting
This table shows validation rules used by Infor Sales Intelligence for CRM that can assist you with troubleshooting the application:
Validation rule | Example of output message |
---|---|
custid is required | { "reason": "NLP requests must
contain a custid parameter"}
|
custid must be alphanumeric | {"reason": "custid must be
alphanumeric: 22377_A"} |
Maximum length of custid is 80 characters | {"reason": " custid is too
long“} |
productid is required | {"reason": "Transactions must
contain a productid parameter"} |
productid must be alphanumeric | {"reason": "productid must be
alphanumeric: I_"} |
productid must be in the mapping | {"reason": "Product id not in
the database"} |
Maximum length of productid is 80 characters | {"reason": "Productid is too
long“} |
Quantity must be positive | {"reason": "Quantity must be
>0: } |
Cost is required | {"reason": "Transactions must
contain a cost parameter"} |
Cost must be positive | {"reason": "Cost must be
>0: } |
Date is required | {"reason": "Transactions must
contain a date parameter"} |
Date format validation | {"reason": "Date not valid:
{\"year\":2016,\"month\":13,\"day\":1}"} |
Limit is required | {"reason": "NLP requests must
contain a limit parameter"} |
Limit is positive | {"reason": "limit must be
positive"} |