I'm getting a very strange error here. When creating a new entry to an entity, I'm getting a "Server error 413".
This basically means that your data you send to the server is too large and hits a limit configured somewhere on your server. So you should check how large your request is that fails and check your server documentation what default values apply for maximum form uploads, header/request/response buffers, etc and increase them as needed.
However, the strange part is: I use this same creation in other place and it works just fine.
The data you send to the server is probably just a tiny bit smaller and thus it works because you don't hit a server limit anymore.
In addition to that, this problem only happens when I'm in development mode. When I deploy the application, the error doesn't happen.
That would mean that your development mode server (GWT's embedded Jetty or anything else if you use -noserver) is configured differently (has different default values) than your server you deploy to. Or you possibly have load balancers in front of your deployment servers so that the whole situation is a bit different.
In general its not bad seeing this error because it protects your server from being knocked down with very large (denial of service) requests. So don't go crazy and configure your server to accept 1GB of POST data or something. Configure it to a value that suites your needs.
-- J.