PyPardot4 icon indicating copy to clipboard operation
PyPardot4 copied to clipboard

users read by email not working correctly

Open mayurpande opened this issue 5 years ago • 1 comments

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]"))

mayurpande avatar Oct 07 '19 08:10 mayurpande

Sorry I didn't realise the prospects object is what I want. But I cannot get the prospect id from the user email

mayurpande avatar Oct 07 '19 08:10 mayurpande