entity icon indicating copy to clipboard operation
entity copied to clipboard

Legal API: (Incorporation Application) Contact Point email field validation is more permissive on API

Open loneil opened this issue 2 weeks ago • 0 comments

As an API user posting an incorporation application, I want to get appropriate validation errors if I try and put a field in that has a contact point email address that would not pass the frontend validation, so that my saved data is accurate and reliable and will not cause issues if used again through the frontend


On the frontend in Create UI front end, the Contact Point Email validation uses a more complex email validation for proper email format checking, backend is a lot more permissive. Ex: "[email protected]" passes API but not FE


QA Notes

  • Ensure regression of IA through frontend, ensure email address saves properly
  • Posting an incorporation application through the Postman collection works as expected
  • Posting email address formats that would not pass the frontend cause the API to return an appropriate error message about invalid format.

loneil avatar Dec 24 '25 00:12 loneil