Fixing raw buffer posts, returning error messages