The HW Blog

Want to be updated? @opencoconut | Feed

Robot API - All errors collected in a single field

Bruno Celeste (@brunoceleste)

October 16, 2013 Features

Like output_urls for all media URLs, we added a convenient field errors that collects every encountered errors.

The new field is constructed like this:

{
  "section_name": error_code
}

Here is a real example:

{
  "post:job:0": 103,
  "post:job:1:upload": 100,
  "post:preview/thumbnails": 100
}

We needed a simple way to distinguish the encoding job from the upload to the CDN. This is why there is a special section post:job:1:upload telling you the upload to the CDN for the post:job:1 task failed.



Any Comment? Send us a message on Twitter @opencoconut
If you have questions or feedbacks, you can also contact us via our contact page