Finding errors
The system provides a text-based, easily understandable feedback on all errors. The error is containted under the X-Error
header. If there is an error, an 1x1 pixel size transparent gif will be displayed.
Headers in the HTTP response
X-Error
: text based description of the error in English- when there is an error, the CORS headers will be filled out as well, so the javascript loader will be able to access the cause of the error
X-Served-At
: date of servicing; this allows you to pinpoint the exact time when the intermediary network (e.g.: CDN) cached the imageX-Served-By
: the unique identifier of the server doing the servicing. If you find that certain servers do not provide a good enough service, you can point them out to us and speed up the process of solving the problem.
Limitations
- CDNs’ and other intermediary networks’ response/problems may result in the
X-Error
header to not display, or, furthermore, instead of the 1x1 pixel transparent gif, you’ll see HTML and other content in the response. - the response containing the description of the error will be sent out with e 30 second HTTP cache header - these values cannot be modified.
Examples
https://img.shardimage.com/5ow354rT/s-b3:rN48OnKxuRvnLrWjL2wkX3CRI66s3jw600/o-strictSecureHash/bg:whi3/v/1.0.0/i/crowd
HTTP/1.1 400 Bad Request
...
Content-Length: 24
Content-Type: image/gif
...
X-Error: Invalid transformation! Unknown token at 4 position! ("whi3/")
X-Served-At: 2018-06-21 08:36:44 GMT
X-Served-By: 537f500b7cab995080d41e97ab9fe6630d76582d3d8b7007
...