Services Plugins FAQs

How to save box.com image thumbnail?

Hello everyone, I’m doing the following to get the thumbnail, but without success.

first upload to the box:
image

Second, I get the result of the first step together with the call get thumbnail and it doesn’t return correctly :confused:
image

I also tried with the url but it resulted in the same result.
image

the first result is that of the step, the second is a custom states where I made the same call get there at the front of the page that returned perfectly.

therefore, the first result returns an empty URL with no information of any kind.
Can someone explain to me why the same call at the front works and here at the workflow gives this result?

Thank you for everyone’s support.

Hello, @kaue.ggp

I apologize for the delay in getting back to you.

May I ask if you have tried adding a pause (action) of 2-3 seconds before the next action in your workflow? It’s possible that the workflow wasn’t ready to receive data from the first step.

Additionally, have you tried executing this workflow in step-by-step mode in the debugger? If so, what was the result?

Thank you.

Hello, @kate

after reading the documentation I tried this way and it worked! :rocket:

I managed to solve it like this:

I used :saved to s3 and inside it I made the api call to save the thumbnail:

image

Like this:

image

And it worked! It was not necessary to perform this pause even with a 9.4Mb image. :slightly_smiling_face:

1 Like