I am using the PUT verb to send JSON to a MVC controller. When I reach a certain limit I get a 500 error. If I scale back the JSON I send, then it sends just fine... Does anyone
Check the maxRequestLength in your web.config. If the data exceeds maxRequestLength, 500 status is returned.
Note: if maxRequestLength isn't specified. Default value is 4MB.
If that doesn't work, try IIS's Request Limits. Documentation however says that 404 status should be returned.