Improved

3bd3fffeb45b537cba095661d865cfa2f9ca9319

POST /v3/user_emails

  • Fixed: An email without a dotted domain, such as someone@hostname, returns a 422 instead of a 500.
  • Changed: email declares a pattern for the addresses Greenhouse accepts, and a malformed address returns the 422 error "Value at /email is not a valid email address".

POST /v3/users

  • Changed: primary_email declares a pattern for the addresses Greenhouse accepts, and a malformed address returns the 422 error "Value at /primary_email is not a valid email address" before any other validation.