Adding specific HTTP 400 error code for S3 responses