Print this page

Visualforce remoting throwing error

Knowledge Article Number 000193799
Description While executing vf remoting, there is an error thrown on the client side which stops the vf remote action from completion.

This is often caused due to the request size being over 1 million characters. Using browser debug tools network panel you should be able to see the size of the request and the response from the server which indicates this:

[{"statusCode":500,"type":"exception","ref":false,"action":"Unknown","method":"Unknown","message":"Input too long. [0, 1000000]","where":"","data":"","vfTx":true,"vfDbg":true}] 
Resolution Reduce the size of the request.

promote demote