Marketo API and Zapier - Receiving 601 codes (Access token invalid) even though I have a valid one.
Hi all,
I was wondering if anyone could help me with this.
I have Marketo integrated with Zapier with an API Only user. Thing is I want to populate a PMCF from Zapier to Marketo for some webinar runs. While testing it out I've found that it actually worked but now that I'm live with real people, it won't populate that field as I keep receiving 601 codes from the Marketo API.
Some stuff worth mentioning:
- I do have the Identify process on Zapier to grab the access token (putting my client id and client secret keys). This is the URL: XXXXX.mktorest.com/identity/oauth/token?grant_type=client_credentials
- These are the kind of replies I'm getting from that Identify process:
- Access Token, Token Type, Expires In and Scope
- Expires In shows numbers usually on their 3000, meaning I still have that time left before it expires.
- Access Token, Token Type, Expires In and Scope
Basically I'm getting the access token from Marketo every call, so I think there's no reason why I should be receiving 601.
Later on the POST URL I'd put this: XXXXX.mktorest.com/rest/v1/programs/{program-id}/members.json?access_token={accessToken}
I also have the request headers for content type (application/json) and the Authorization (Bearrer {accessToken}.
FYI: I'm also including the token inside the Query Parameter field on Zapier (the dynamic token)
What am I missing?
Thanks