Questions tagged [http-status-code-500]

Use for questions where the server throws 500 Internal Server Error and the server is not in your control. For servers in your control, look through the server logs to pinpoint the actual problem

The 500 Internal Server Error is a catch-all error code that can mean literally anything. Instead, look through server logs, etc and try to pinpoint the actual problem and tag it accordingly.

The relevant section of the HTTP protocol:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

More information about codes returned from IIS 7:
http://support.microsoft.com/kb/943891

745 questions
3
votes
2 answers

Hook executed successfully but returned HTTP 500 missing_text_or_fallback_or_attachments

I wanna gitlab activity notification to slack. But i get following error by test Hook executed successfully but returned HTTP 500 missing_text_or_fallback_or_attachments endpoint is 100% correct. Our old integrations run well.
tsogtgerel.ts
  • 955
  • 1
  • 15
  • 32
3
votes
3 answers

c# - HttpClient InternalServerError 500 - Works in postman, but not in code

I'm trying to send GET requests to to the following API endpoints: https://api.mediahound.com/1.3/search/all?PARAM_STRING https://api.mediahound.com/1.3/graph/lookup?params=PARAMS_JSON The first one works just fine with the following code (in both…
3
votes
1 answer

Where EXACTLY Do I Catch 404 And 500 Errors?

I know of a couple ways to catch 404 and 500 errors. For example, I can use web.config, route.config, global.asax, and a controller; however, I don't where to put the code to make it catch these errors. Let me tell you what I've done. Route…
3
votes
1 answer

Internal Server Errors are mapped to 302 Found with a redirect to "/offline_pages/" on Swisscom CloudFoundry

We are using the Swisscom CloudFoundry solution with a Java and a Node.JS application. Since very recently, every HTTP status code starting with 5xx (tested with 500 and 503) is automatically mapped to the status code 302 Found with a redirect…
3
votes
1 answer

NGINX conditionally turn on/off proxy_intercept_errors

I got 2 clients that may send same HTTP request to Server through nginx proxy. one is browser the other is my own program, the difference is request send from my own program have custom HEADER my-header=me My goal is: if any request leads to a…
JerseyGood
  • 191
  • 4
  • 15
3
votes
1 answer

VueJS HTTP request error 500 Handling

I am having this problem where I make HTTP Request to the API and in case of error ( specially error 500) the JS just breaks or goes into infinite loop and I should close the window and re-open the page. What I need is a message to pop up and in…
3
votes
0 answers

Vagrant HTTP 500 error

I'm currently working on project using Vagrant and I'm using Scotch Box 2.5. The setting up part was very successful even in SSH, I installed Apache and PHP 5.6. When I tried accessing to my site, it said HTTP 500 error. I also use VirtualHost…
Huy Le
  • 339
  • 1
  • 2
  • 11
3
votes
1 answer

Nginx returning 500 on double slash in query param

I am receiving a 500 error after passing a param via query string like this: https://my-website/namespace/resource/endpoint?myparam=//some/param The exact param is "//some/param/". I have heard about the merge_slashes option in nginx but I would…
Cheslav
  • 91
  • 7
3
votes
1 answer

How to globally redirect error 500 to a page using react-redux

I am using this react redux starter, I would like to know how I can redirect all api 500 errors to a page please?
Alex
  • 487
  • 1
  • 6
  • 16
3
votes
0 answers

phpseclib example throws error 500

I'm trying to get phpseclib to work with my current project. I've tried the example code given by its website but all it returns is an error 500. There are no logs for this error whatsoever. include('Net/SSH2.php'); $ssh = new…
Stantastic
  • 102
  • 9
3
votes
1 answer

cannot get bokeh server to run on server

I cannot get a bokeh plot to work on a deployed server because of cross-domain issues. I have asked this question in a few forms and am not really getting anywhere. I always get the error XMLHttpRequest cannot load…
Brian Leach
  • 3,974
  • 8
  • 36
  • 75
3
votes
3 answers

Rails 500 on OPTIONS request

I'm making a cors ajax request to http://api.localhost.com:3000/v1/send.json and am getting a 500 error I can't explain (rails 4). In /etc/hosts: 127.0.0.1 api.localhost.com In routes/config.rb: # api namespace :api, :path => "", :constraints…
Miles
  • 1,615
  • 4
  • 17
  • 42
2
votes
1 answer

DioError [bad response]: The request returned an invalid status code of 500

I want to post data that contains array of subjects with dio package in flutter, but I got this error: "DioError [bad response]: The request returned an invalid status code of 500." dio package version is 5.1.2, and I tried older versions…
dinomim
  • 21
  • 5
2
votes
4 answers

php-fpm and nginx: How to set display_errors = on but also get HTTP 500?

Due to development needs, I want to display PHP errors loud and clear to the browser. So I set my php.ini: display_errors = on This works as expected. But this messes up the Nginx status code if there is an error. As commented here…
2
votes
0 answers

Laravel 500 Internal Server Error when submitting form

I am getting this error when submitting a form with ajax, I have tried without ajax and it throws the same result. Laravel is making no logs and I have tried to clear cache and update the app key but nothing happens. Error Image : Here's my…
merchant8
  • 33
  • 7
1 2
3
49 50