Inventory Snapshot STUCK for MONTHS!? Can't even generate a new one

This is the stuck snapshot:

	"data": {
		"inventory_snapshot": {
			"request_id": "672110a37566128d0e4ca117",
			"complexity": 2,
			"snapshot": {
				"snapshot_id": "6687a37cec05044d332619db",
				"job_user_id": "VXNlcjoxNjEyNjQ=",
				"job_account_id": "QWNjb3VudDo2Mjg1MA==",
				"warehouse_id": "xxxx",
				"customer_account_id": null,
				"notification_email": null,
				"email_error": null,
				"post_url": null,
				"post_error": null,
				"post_url_pre_check": true,
				"status": "InventorySnapshotStatus.enqueued",
				"error": null,
				"created_at": "2024-07-05T07:40:44+00:00",
				"enqueued_at": "2024-07-05T07:40:44.441000",
				"updated_at": "2024-07-05T07:40:44+00:00",
				"snapshot_url": null,
				"snapshot_expiration": null
			}
		}
	}

And here’s the error I get when I try to generate a new one:

	"errors": [{
			"message": "Snapshot '6687a37cec05044d332619db' is already being processed for warehouse 'Any' and account 'Any'",
			"operation": "inventory_generate_snapshot",
			"field": "inventory_generate_snapshot",
			"request_id": "67210f8be450ce81ed04a196",
			"code": 9
		}
	]

Hi Raj,
Have you attempted an inventory_abort_snapshot mutation?
As long as the snapshot is not already in processing status, you should be able to abort it using it.
You can find more information here: Inventory-Snapshot – Developer Resources | ShipHero.
Have a great day!

1 Like

Hi @tomasfd - wow I didn’t know about that!
During my solution hunt I did come across this thread, and every single time the SH engineers solved it from the backend, so I figured that’s what’s needed right now too.
Thank you, I’ll try this (:

1 Like

Hi @raj, correct, there are some cases where the snapshot might get stuck and not respond to an abort. Please let me know how that goes for you.
have a great day

1 Like

It worked really well, thank you again @tomasfd !

1 Like

That’s great news, @Raj! I’m happy to help. Have a great week!