Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

users read by email not working correctly #35

Open
mayurpande opened this issue Oct 7, 2019 · 1 comment
Open

users read by email not working correctly #35

mayurpande opened this issue Oct 7, 2019 · 1 comment

Comments

@mayurpande
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant