# Invalid \`prisma.issue.findUnique()\` invocation

**URL:** <https://forum.codewithmosh.com/t/invalid-prisma-issue-findunique-invocation/23859>\
**Category:** Next.js\
**Created:** [November 27, 2023, 6:53pm UTC](https://forum.codewithmosh.com/t/invalid-prisma-issue-findunique-invocation/23859 "2023-11-27T18:53:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rolandolloyd](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/rolandolloyd/32/7271_2.png) [@rolandolloyd](https://forum.codewithmosh.com/u/rolandolloyd)\
**Post date:** [November 27, 2023, 6:53pm UTC](https://forum.codewithmosh.com/t/invalid-prisma-issue-findunique-invocation/23859/1 "2023-11-27T18:53:33Z")

</div>

Following along with the tutorial, (Chapter:“Deleting Issues” #4-Deleting an Issue) I got an error when I added the onClick in the DeleteIssueButton.tsx. I re-started the server and when I tried to run the server back I got the following message:

Argument `id` is missing.  
at async IssueDetailPage (./app/issues/[id]/page.tsx:43:19)  
⨯ PrismaClientValidationError:  
Invalid `prisma.issue.findUnique()` invocation:

{  
where: {

- id: Int  
}  
}

Argument `id` is missing.  
at async IssueDetailPage (./app/issues/[id]/page.tsx:43:19)  
digest: “2011308464”

 ![Screenshot 2023-11-27 at 1.35.21 PM](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/8/85b32c447f50aef6c853cd3c3898daa749b7c475.png)

---

<div class="post-metadata">

**Author:** ![rolandolloyd](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/rolandolloyd/32/7271_2.png) [@rolandolloyd](https://forum.codewithmosh.com/u/rolandolloyd)\
**Post date:** [November 28, 2023, 10:55am UTC](https://forum.codewithmosh.com/t/invalid-prisma-issue-findunique-invocation/23859/2 "2023-11-28T10:55:58Z")

</div>

Solved: Re-started my Mac. uggghh,
