Skip to content

Conversation

@lukasotocerny
Copy link

Fix bug of parsing response to request on export job status. Currently,

mc.execute(method='get_leads_export_job_status', job_id="XXX")

Is throwing

File "/marketo-rest-python/marketorestpython/client.py", line 5137, in _export_job_state_machine
if not result['success']:
TypeError: 'Response' object is not subscriptable

This PR solves the issue. Tested.

bob-koertge added a commit to bob-koertge/marketo-rest-python that referenced this pull request Feb 22, 2020
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

Successfully merging this pull request may close these issues.

1 participant