---
title: "Comment by S3Kglitches on \"Problem Details - The right way to specify errors in Web API responses\" | Hashnode"
description: "So how to provide the Details field in the ProblemDetails object when returning NotFound()?"
url: "https://hashnode.com/posts/problem-details-the-right-way-to-specify-errors-in-web-api-responses/6058210c5f8d5121697286a0/comment/638ca29464b7288d8d8e5a17"
---

[Discussion](https://hashnode.com/posts/problem-details-the-right-way-to-specify-errors-in-web-api-responses/6058210c5f8d5121697286a0)

Comment [Problem Details - The right way to specify errors in Web API responses](https://hashnode.com/posts/problem-details-the-right-way-to-specify-errors-in-web-api-responses/6058210c5f8d5121697286a0)

[S3Kglitches](https://hashnode.com/@S3Kglitches)

[Dec 4, 2022](https://hashnode.com/posts/problem-details-the-right-way-to-specify-errors-in-web-api-responses/6058210c5f8d5121697286a0/comment/638ca29464b7288d8d8e5a17)

So how to provide the Details field in the ProblemDetails object when returning NotFound()?
