Skip to content

batchupdate is not working  #30

Description

@jothiljose

Sample code set:
from pypardot.client import PardotAPI
p = PardotAPI(
email='email@email.com',
password='password',
user_key='userkey'
)

p.authenticate()

p.prospects.batchUpdate(prospects=[{"id":"100", "field":"value"}, {"id":"101", "filed":"value"}])

Error:

pypardot.errors.PardotAPIError: Error #71: Input needs to be valid JSON or XML

Let me know the json format.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions