REST API error codes

List of possible error codes in the REST API.

Table 1. REST API error codes
Code Description
1 Template not published
2 Invalid template
3 Invalid Recommendation file URL
4 Recommendation file does not exist
5 Invalid Recommendation file format
6 Recommendation file unreadable
7 Recommendation files for primary/backup do not exist
8 IRS (Image Rec Server) section missing/invalid
9 PD (Product Detail) section missing/invalid
10 Recommendation instance error
11 JSON Error
12 Error creating image
13 Recommendation file contains no recommendations
14 Missing/invalid target in recommendation file
15 Missing IO Config file
16 Invalid IO Config file
17 Invalid Zone ID
18 Error Processing IO Config
19 Too few Recommendations
20 Invalid SSP (Server-Side Personalization) URL
21 SSP (Server-Side Personalization) file not found
22 MIDS section missing/invalid
23 AP section missing/invalid
24 HD section missing/invalid
25 AN section missing/invalid
26 An internal error occurred
27 Invalid recommendation file format
100 Thumbnail image error
101 Image file not found
201 Cannot connect to URL
202 Cannot open connection to URL
203 Cannot read from URL