# Inventory Snapshot STUCK for a WEEK

**URL:** <https://community.shiphero.com/t/inventory-snapshot-stuck-for-a-week/3133>\
**Category:** GraphQL API\
**Created:** [December 4, 2024, 6:27pm UTC](https://community.shiphero.com/t/inventory-snapshot-stuck-for-a-week/3133 "2024-12-04T18:27:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.shiphero.com/u/Raj)\
**Post date:** [December 4, 2024, 6:27pm UTC](https://community.shiphero.com/t/inventory-snapshot-stuck-for-a-week/3133/1 "2024-12-04T18:27:05Z")

</div>

Hi, here’s the snapshot that’s stuck:

```auto
{
    "data": {
        "inventory_snapshot": {
            "request_id": "67509d85fd782cd7f5e4ff8c",
            "complexity": 2,
            "snapshot": {
                "snapshot_id": "6746a2e86edb357609d4e01b",
                "job_user_id": "VXNlcjoxNjEyNjQ=",
                "job_account_id": "QWNjb3VudDo2Mjg1MA==",
                "customer_account_id": null,
                "notification_email": null,
                "email_error": null,
                "post_url": null,
                "post_error": null,
                "post_url_pre_check": true,
                "status": "InventorySnapshotStatus.processing",
                "error": "Process restarted\nProcess restarted\nProcess restarted",
                "created_at": "2024-11-27T04:41:12+00:00",
                "enqueued_at": "2024-11-27T04:41:12.694000",
                "updated_at": "2024-11-27T07:41:34+00:00",
                "snapshot_url": null,
                "snapshot_expiration": null
            }
        }
    },
    "extensions": {
        "throttling": {
            "estimated_complexity": 2,
            "cost": 1,
            "cost_detail": {
                "inventory_snapshot": {
                    "items_count": 0,
                    "cost": 1,
                    "total_cost": 1,
                    "fields": {
                    }
                }
            },
            "user_quota": {
                "credits_remaining": 2001,
                "max_available": 2002,
                "increment_rate": 30
            }
        }
    }
}

```

And it even fails to abort

```auto
{
    "errors": [
        {
            "message": "Snapshot 6746a2e86edb357609d4e01b already in process",
            "operation": "inventory_abort_snapshot",
            "field": "inventory_abort_snapshot",
            "request_id": "67509df5aaea47da114ab581",
            "code": 9
        }
    ],
    "data": {
        "inventory_abort_snapshot": null
    },
    "extensions": {
        "throttling": {
            "estimated_complexity": 0,
            "cost": 1,
            "cost_detail": {
                "inventory_abort_snapshot": {
                    "items_count": 0,
                    "cost": 1,
                    "total_cost": 1,
                    "fields": {
                    }
                }
            },
            "user_quota": {
                "credits_remaining": 2002,
                "max_available": 2002,
                "increment_rate": 30
            }
        }
    }
}

```

Any help pls?  
Thank you

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.shiphero.com/u/Raj)\
**Post date:** [December 5, 2024, 12:36pm UTC](https://community.shiphero.com/t/inventory-snapshot-stuck-for-a-week/3133/2 "2024-12-05T12:36:18Z")

</div>

Hi, Pls help - this is important+urgent

---

<div class="post-metadata">

**Author:** ![Luisperrone](https://avatars.discourse-cdn.com/v4/letter/l/ed655f/32.png) [@Luisperrone](https://community.shiphero.com/u/Luisperrone)\
**Post date:** [December 5, 2024, 12:36pm UTC](https://community.shiphero.com/t/inventory-snapshot-stuck-for-a-week/3133/3 "2024-12-05T12:36:33Z")

</div>

Hi @Raj

I’ve asked the engineering team to abort it from the DB.  
I’ll let you know when it is done.

Have a nice day!

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.shiphero.com/u/Raj)\
**Post date:** [December 5, 2024, 12:38pm UTC](https://community.shiphero.com/t/inventory-snapshot-stuck-for-a-week/3133/5 "2024-12-05T12:38:37Z")

</div>

Thank you @Luisperrone - I’ll wait

---

<div class="post-metadata">

**Author:** ![Luisperrone](https://avatars.discourse-cdn.com/v4/letter/l/ed655f/32.png) [@Luisperrone](https://community.shiphero.com/u/Luisperrone)\
**Post date:** [December 5, 2024, 4:34pm UTC](https://community.shiphero.com/t/inventory-snapshot-stuck-for-a-week/3133/6 "2024-12-05T16:34:00Z")

</div>

Snapshot is aborted!

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.shiphero.com/u/Raj)\
**Post date:** [December 5, 2024, 4:48pm UTC](https://community.shiphero.com/t/inventory-snapshot-stuck-for-a-week/3133/7 "2024-12-05T16:48:36Z")

</div>

Thank you @Luisperrone !  
Is there any way to avoid this problem in future?

---

<div class="post-metadata">

**Author:** ![Luisperrone](https://avatars.discourse-cdn.com/v4/letter/l/ed655f/32.png) [@Luisperrone](https://community.shiphero.com/u/Luisperrone)\
**Post date:** [December 5, 2024, 5:11pm UTC](https://community.shiphero.com/t/inventory-snapshot-stuck-for-a-week/3133/8 "2024-12-05T17:11:20Z")

</div>

There is a ticket in engineering to fix the root cause, but it will take a while, so in the meantime, we’ll abort it if it happens. You just let us know!
