Optional error headers. JSON-API should return 400 if status error otherwise status and header code must be set