Marketpress import problems 502 Bad Gateway nginx

Hi, we're trying to upload a CSV with just under 900 products and we keep getting this error and the upload fails part way through. We don't get any notification of what the error is:

502 Bad Gateway


Can you help?

Thank you.