PyPardot4
PyPardot4 copied to clipboard
users read by email not working correctly
The function read_by_email
is not working for the users
. I have tested with various different emails that are correct by they all return;
PardotAPIError: Error #11: Invalid user email address
I have connected properly as I am able to access lists and send emails. But just this line of code always fails;
def get_user_id(self):
print(self.p.users.read_by_email("[email protected]"))
Sorry I didn't realise the prospects
object is what I want. But I cannot get the prospect id from the user email