Receiving 601 Error Code When Trying to Authenticate to Marketo Web Service in Medallia
Hello,
I am currently working on a project where we are attempting to integrate Marketo with Medallia (I am configuring this integration on the Medallia side and have minimal experience with Marketo). The way this integration works is that Leads and associated data fields are sent in a sample file that is processed in Medallia and Medallia generates survey links that are sent back to Marketo. So far, we have been able to successfully send a Sample File from Marketo to Medallia, but sending survey link data back to Marketo has been challenging.
The Marketo team that I'm working with has configured a web service and sent us a Client ID and Client Secret that we are using to authenticate to the Marketo identity server and subsequently submit an HTTP POST request to the web service. Medallia has a functionality where I am able to test logging in to the identity server using the OAuth credentials that I was given by the Marketo team (I'm assuming this functionality works by testing the ability to retrieve an access token with cURL commands) and I'm able to do so successfully. However, when I actually try to execute a POST request to Marketo, I receive a 601 error from Marketo in the response.
Our Medallia setup is configured to authenticate to Marketo with the following information (any client specific/senstive information I'm redacting and note that the <<>> is not actually contained in any of our information that we are sending to Marketo):
For authenticating:
Login URL: <<token server URL>>.mktorest.com/identity/oauth/token
Login Headers:
- client_id: <<client ID provided to us>>
- client_secret: <<client secret provided to us>>
- grant_type: client_credentials
For making the POST request:
Request URL: <<endpoint URL>>mktorest.com/rest/v1/leads.json?fields=<<comma separated list of Marketo IDs of fields we are sending over>>
Request Method: POST
Request Headers:
- Authorization: Bearer <<token>> (whatever token we receive from the login will be what is piped in for <<token>>)
- Accept-Encoding: gzip, deflate
- Content-Type: application/json; charset=utf-8
Content: We have a JSON payload that is being sent over with each request.
Does anyone have some insights regarding why I may be receiving the 601 error (issues with Medallia configuration and how we're making the request? Potential issues with the Marketo configuration that I can communicate to the Marketo team?)? Thanks.