-
-
Notifications
You must be signed in to change notification settings - Fork 49
Description
I implemented the code according to the tutorial in the doucmenation and after step 5 I cannot create a review via the terminal. The create-review.ts workflow always throws the following error:
Product: Primary key(s) [id, handle] not found in filters
{
message: 'Product: Primary key(s) [id, handle] not found in filters',
name: 'Error',
stack: 'Error: Product: Primary key(s) [id, handle] not found in filters\n' + ...
\src\workflows\create-review.ts: [create-review -> use-query-graph-step (invoke)]',
__isMedusaError: true,
type: 'not_found',
code: undefined,
date: 2025-08-01T09:18:12.768Z
}
However the product_id and handle are correct since I retrieved them via the terminal. I also added the handle variable to the worklfows, but it still says that the product cannot be found. I also cleaned the project and also installed the dependicies new, run migrations and build process mulitple times, but the issue stills persists. I am not sure anymore where the issue could be. Thanks for the help.