Following error codes are the error codes that are used for the API methods:
| Code |
Description |
Comment |
| 0 |
Success |
No error |
| 1 |
Insufficient credit |
The personalization server will not launch a new personalization session unless the owner of the shopping cart has sufficient credit on the points server
|
| 2 |
PDF not available |
getPreview is used to recover data about result PDF file but no PDF is available |
| 3 |
Authentication failure |
The combination of username and key are invalid. |
| 4 |
Invalid product ID |
No product found on personalization server
|
| 5 |
Invalid session ID |
Either session ID is invalid or session ID has already been closed via method endPersonalization
|