Skip to main content
All CollectionsWeb CheckoutTroubleshooting
Error: Couldn't find Pickup with 'id'
Error: Couldn't find Pickup with 'id'
Lucia Burin Sestakova avatar
Written by Lucia Burin Sestakova
Updated over a month ago

Problem

This article deals with the following error:

Couldn't find Pickup with 'id'=[HASH][WHERE "pickups"."supplier_id" = $1 AND "pickups"."deleted_at" IS NULL]

This error occurs when customers try to book a product with pickup(s). A pickup can be selected but the above error message appears and customers are unable to complete the order with the selected pickup.

Select Pickup

Select Pickup

Typically this happens when the pickup was deleted in the Ventrata dashboard but it is still referenced in one of the routes.


Solution

There are two ways this error can be resolved:

  1. Remove the pickup from every route it is associated with.

    In the Ventrata dashboard, go to Pickups > Routes. Select a route where the pickup is referenced and press the bin icon to remove said pickup. Then, press the Update Route button to save your changes. Repeat for each route.

    Route

    Update Route

  2. Restore the deleted pickup.

    In the Ventrata dashboard, go to Pickups > Pickups. Press the Restore button on the action bar. Select the pickup causing the error, then press the Restore button in the dialog window.

    Restore Pickup

    Restore Pickup

πŸ“’ NOTE

Recreating the pickup would not resolve the issue because the route reference is tied to the pickup's ID, which is unique for every entity in the Ventrata dashboard.

Did this answer your question?