[HTTP Request Error] Failed to load response data

Background

When the frontend calls the backend API, the response status is 200, and my web browser dev tool shows “failed to load response data.”

HTTP response details in the web browser dev tool

  • Status Code: 200
  • Content-Type: application/json;charset=UTF-8
  • Response Body: Failed to load response data: No data found for resource with given identifier

I copy the URL of the requested API to a new tab of my web browser (get a request from a browser), but I only get part of the JSON data.

{
part of JSON

Error Info

Failed to load response data: No data found for resource with given identifier

Solutions

Make sure your server disk has free space.

Reasons

Because my server’s disk is full, the HTTP response returns part of JSON.

References