204 is not an error code. All of the 200 series codes mean Success. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for the status codes and their meanings.
204 means "No Content". The server has fulfilled the request but does not need to return an entity-body.
If you're getting 204 and there's a server side error that's throwing stack traces then it should be returning a 500 or similar. If that's the case you'll need to post them up to get more help.