No results returned

Archived from the Transloadit support forum. Originally posted on November 23, 2010; details may be outdated, see our docs for current behavior. Original thread

We are trying to upload files for encoding it into flash from command line using curl. Everything seems to run fine, we can see the uploaded file when requesting status, but the results are always empty, even when the assembly is completed. We are sure it is something small, but we just can figure out what it is.

Here is our assembly:

"steps": {
    "encode": {
      "preset": "flash",
      "robot": "/video/encode",
    },
    "thumbs": {
      "robot": "/video/thumbs"
    }

Our understanding was that we needed to upload a file with “steps” for processing it, then when it was processed the results would be populated with the encoded video and thumbs for us to download.

Please advise.

Hi Donatas,

sorry about this. In order to make your assembly work you need to add "result": true to both steps. Normally this is automatically taken care of by having a final store step that uploads your results, but in your case you don’t seem to have such a step so the explicit setting is necessary.

I’ve actually thought about this problem a few days ago and realized we can make the step implicit in the future by simply detecting if there are no more steps after that one, but until I push that change you’ll need the suggested fix above.

Let me know if that works for you!

That fixed it. Thanks.