Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does chrome dev tools console show a link for Post 500 error in one website but not another?

In test1 web site I can get debugging information with a Post link test1

In test2 web site, running the same api, I cannot. I just see

Failed to load resource: the server responded with a status of 500()

test2

like image 287
Kirsten Avatar asked Mar 01 '21 21:03

Kirsten


People also ask

Why do I get 500 internal server error?

The 500 Internal Server error could be caused by an error during the execution of any policy within Edge or by an error on the target/backend server. The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request.


1 Answers

In web.config

<httpErrors errorMode="DetailedLocalOnly" existingResponse="Auto" />

The docs are here

like image 75
Kirsten Avatar answered Oct 13 '22 07:10

Kirsten