504 Gateway time-out instead article id in POST api/articles response

Hello,

 

I am trying to create an item with 32 images via POST api/articles enpoint.

 

The problem is that I receive 504 Gateway time-out error in response but item appears in some time with all images in.

 

I need that article id to store it in my external system.

 

Can you help me?

 

Thanks

Also I have noticed that item goes to temporary folder to proceed adding I think.