Fix error code if invalid request content
Fix security infos