Skip to main content

Error: POST 400 Bad Request when creating a lead

How to resolve the \"Client error: POST 400 Bad Request\" validation error in Enerflo by ensuring the lead has both a phone number and email, and verifying the rep has permission to create leads.

Written by Enerflo Support
Updated over a week ago

If you are trying to create a lead and getting an error that says Validation Error, Status Code "400, message: "email" is not allowed to be empty, go to the lead page and make sure the lead has both a phone number and email on it.

If the lead information is filled in and the error is still populating, an admin can check the user's settings to see if the rep has access to create new leads: Home > Manage Users. Click Edit, and then check to see if the box for "Can create leads" setting is checked.

Did this answer your question?