Inventory Sync Mutation 504 error code

We were trying to send a file with near 200K SKUs (13MB), but the API returned 504 error:

<html><head><title>504 Gateway Time-out</title></head><body bgcolor="white"><center><h1>504 Gateway Time-out</h1>< (truncated...) 

The request that we sent:



As I can see, the batch was actually created, but having an error in response is a problem since we can not get the sync process ID for further monitoring.

We’ve got another problem for the big file upload. The file that was delivered within the same mutation has near 1.3M rows and 88Mb. However besides the regular 504 error that we got, the sync process is stuck in processing state and haven’t changed since Friday. Please fix this ASAP as we can not deliver other batches.

        "node": {
          "id": "5da049e3b212a900010b7bb9",
          "url": "",
          "warehouse_id": "V2FyZWhvdXNlOjEwMjQw",
          "customer_account_id": null,
          "total_count": 1391255,
          "status": "processing",
          "error": null,
          "created_at": "2019-10-11T09:22:43+00:00",
          "updated_at": "2019-10-11T10:44:57+00:00"


Hi ihnatk!
Could you please try uploading that file again, issue should be fixed now.

Hi @tomasw,
Thanks for your reply. I can not send create a new sync while the old one is not failed or completed. Please see the mutation response:

There is a sync already scheduled/being processed for warehouse 10240: {u'status': 2, u'user_id': 21397L, u'account_id': 5518L, u'url': u'', u'total_count': 1391255, u'created_at': datetime.datetime(2019, 10, 11, 9, 22, 43, tzinfo=<UTC>), u'updated_at': datetime.datetime(2019, 10, 11, 10, 44, 57, tzinfo=<UTC>), u'warehouse_id': 10240L, u'error': None, '_id': '5da049e3b212a900010b7bb9'}

I believe you’ll need to set error status for the previous one manually in order to let us deliver a new batch.