Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Safari - WebInspector Network Tab - An error occurred trying to load the resource

I am seeing the error in the image below in Safari's Developer Tools (Network Tab) for the XHR/Fetch. The response body is not visible. It always throws the red text 'An error occurred trying to load the resource'. My initial thought was that the devtool wouldn't support fetch as opposed to XHR. But Safari 12 supports it.

example

OS: MacOS High Sierra Browser: Safari 12 & Technology Preview 66

Does this have something to do with the response headers? XSS or something else? PS: the same response body is visible in chrome dev tool.

like image 1000
Ramesh Avatar asked Sep 27 '18 06:09

Ramesh


2 Answers

On the right of the menu bar with preview there is response with an arrow next to it click on that and switch it to JSON that should do the trick.

like image 166
Yehuda Schwartz Avatar answered Oct 18 '22 14:10

Yehuda Schwartz


if you cant find "the right of the menu bar with preview there is response with an arrow",you will need zoom out first.

enter image description here

like image 5
Evol Rof Avatar answered Oct 18 '22 13:10

Evol Rof