---
title: "Discussion on \"The fetch API's Silent Failures\" | Hashnode"
description: "Discussion on \"The fetch API's Silent Failures\". There is a bug I have written more than once, and I bet you have too:\nconst res = await fetch(\"/api/user/123\");\nconst user = await res.json();\nrender(user);\n\nIt works in development, ships, and then o"
url: "https://hashnode.com/posts/the-fetch-api-s-silent-failures/6af2bc8f8f004fc28dd92270"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The fetch API's Silent Failures](https://aheadkit.hashnode.dev/the-fetch-api-s-silent-failures?utm_source=hashnode&utm_medium=feed)

There is a bug I have written more than once, and I bet you have too: const res = await fetch("/api/user/123"); const user = await res.json(); render(user); It works in development, ships, and then o

5h ago · 6 min read · aheadkit.hashnode.dev  
Read the article

## Written by

[Abdus Salam](https://hashnode.com/@aheadkit)

@aheadkit

  
[View profile](https://hashnode.com/@aheadkit)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
