Hello,
We were trying to push the inventory levels to Shiphero via GraphQL API and faced with a problem:
The inventory sync process is stuck with the “pending” status and isn’t changing for a few hours already. At the same time it doesn’t allow us to send another batch saying After delivery of a file, that contains the header only with no records
There is a sync already scheduled/being processed for warehouse 10288: {u’status’: 1, u’user_id’: 21397L, u’account_id’: 5518L, u’url’: u’https://dev-twctools.s3.us-west-2.amazonaws.com/shiphero/inventory_sync/dropship/dropship_1570702854.csv’, u’total_count’: 0, u’created_at’: datetime.datetime(2019, 10, 10, 10, 21, 3, tzinfo=), u’updated_at’: datetime.datetime(2019, 10, 10, 10, 21, 3, tzinfo=), u’warehouse_id’: 10288L, ‘_id’: ‘5d9f060fb212a90001068f96’}
The request that we sent:
mutation{
inventory_sync(data:{
url:"https://dev-twctools.s3.us-west-2.amazonaws.com/shiphero/inventory_sync/dropship/dropship_1570702854.csv",
warehouse_id:"V2FyZWhvdXNlOjEwMjg4"
}){
request_id
complexity
sync_id
}
}
Just for your information, the file for the process that is still pending was empty (had a header only and no item rows).
Thanks in advance.