Skip to content

[Android] [0.83.0-rc.4] Network inspector not showing response body in Preview/Response tabs #54796

@pFornagiel

Description

@pFornagiel

Description

When using the React Native DevTools, the Network panel fails to show the response body for network requests on Android.

The request itself resolves successfully, and the response payload is available in the app, but the DevTools UI does not show it.
Specifically:

  • In the Network request details sidebar, tabs other than Response and Preview function normally. The Preview and Response tabs remain empty, even though the backend returns a valid JSON response. The following message is displayed:
    Failed to load response data
    Internal error: Could not retrieve response body for the given requestld.
    
  • The same request does display correctly in DevTools when running the app on iOS.

Steps to reproduce

  • Run React Native 0.83.0-rc.4 project using react native cli
  • Open React Native Devtools, navigate to Network tab
  • Make a network request visible in the inspector, which should yield a response (for example https://pokeapi.co/api/v2/pokemon/ditto, which should return a json)
const response = await fetch("https://pokeapi.co/api/v2/pokemon/ditto");
  • Click on the request to view details, navigate to Preview or Response tab
  • The tab displays error message, despite being able to access the resulting json in the code:
Failed to load response data
Internal error: Could not retrieve response body for the given requestld.

React Native Version

0.83.0-rc.4

Output of npx @react-native-community/cli info

System:
  OS: macOS 15.6.1
  CPU: (8) arm64 Apple M1 Pro
  Memory: 134.34 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.19.4
    path: /Users/pawel/.nvm/versions/node/v20.19.4/bin/node
  Yarn:
    version: 1.22.22
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.8.2
    path: /Users/pawel/.nvm/versions/node/v20.19.4/bin/npm
  Watchman:
    version: 2025.06.30.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /Users/pawel/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 25.0
      - iOS 26.0
      - macOS 26.0
      - tvOS 26.0
      - visionOS 26.0
      - watchOS 26.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2025.1 AI-251.27812.49.2514.14217341
  Xcode:
    version: 26.0.1/17A400
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.15
    path: /usr/bin/javac
  Ruby:
    version: 3.1.0
    path: /Users/pawel/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 20.0.0
    wanted: 20.0.0
  react:
    installed: 19.2.0
    wanted: 19.2.0
  react-native:
    installed: 0.83.0-rc.4
    wanted: 0.83.0-rc.4
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Screenshots and Videos

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    DebuggingIssues related to React Native DevTools or legacy JavaScript/Hermes debuggingNeeds: AttentionIssues where the author has responded to feedback.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.Platform: AndroidAndroid applications.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions