Explicitly set text/plain as the type for error responses