Reputation: 31
I am trying to use the Marketo activities.json API endpoint, and I am getting a timeout everytime I try. I have set the cURL timeout to 25 seconds and I am using a valid nextPageToken
parameter to filter the results. The timeframe is yesterday and today.
When I try other endpoints (lists.json
, activities/pagingtoken.json
, leads.json
, lists.json
, and stats/usage/last7days.json
) I get a response and my request does not timeout.
Here is the request I am making to activities.json
:
method: "GET"
url: "https://[marketo-id].mktorest.com/rest/v1/activities.json"
parameters: Array
(
[nextPageToken] => [paging-token]
[listId] => [list-id]
[activityTypeIds] => 24
[access_token] => [access-token]
)
Why am I getting a timeout just for the activities.json
endpoint? Is this API endpoint broken or down?
Upvotes: 1
Views: 672
Reputation: 411
The global timeout for Marketo's REST API is 30 seconds, can you first try adjusting your local timeout to match this? If you remove list ID from from the call what happens?
Upvotes: 1