in reply to 414 Request-URI Too Large

Sounds like the URI is longer than 256 characters. Make sure you are doing a POST, not a GET, because a lengthy request string will produce this error.