Marketo Engage Webhook errors and troubleshooting

Sendoso allows our senders to trigger sends through Marketo Engage with address information based on webhook information that is with default lead information or custom information.

Unfortunately, the following errors can be shown if the Marketo Engage setup is incorrectly set up. These errors can be found by expanding the results that are seen in the webhook responses in Marketo Engage.

Marketo Engage Webhook Errors

  • 200 - This is a successful response but if you're seeing no activity in Sendoso after 30 minutes. The following steps should be taken. 
    • Touch must be active 
    • Products have to be in stock
    • Funding source in touch setup must be funded
    • Touch setup must not be showing errors(ex: 600 error - Marketo Engage token is no longer valid) - New touch will resolve this.
    • Check your trigger approvals, sends could have been sent to the trigger approval queue based on the trigger approval option being selected in the touch setup at one point.

If the issue persists, please connect with the support team to help provide more insight. 

  • 400 -  Webhook Failed. Server Returned code 400 
    • All Payload template fields are required in the webhook. 
    • Touch must be active
    • The touch ID must match what is listed in touch setup in Marketo Engage Flow

112dd40ce330e868ab1b5bb321b80fa246cb1ad9.png

    • The webhook must be pasted into Marketo Engage Payload Template with the exact format as shown

Default Marketo Engage webhook fields

{
 "send":
 {
   "lead_id": {{lead.id}},
   "email": {{lead.Email Address}},
   "name": {{lead.First Name}},
   "last_name": {{lead.Last Name}}, 
   "company_name": {{company.Company Name}},
   "address": {{lead.address}},
   "city": {{lead.city}},
   "state": {{lead.state}},
   "zip": {{lead.Postal Code}},
   "country": {{lead.country}},
   "mobile_no": {{lead.Phone Number}},
 },
 "uuid": {{lead.Sendoso Touch ID}},
 "key": "ENTER USER KEY FROM SENDOSO"
}


Marketo Engage Custom webhook (Custom Address confirmation form

{
"send":
{
  "lead_id": {{lead.id}},
  "email": {{lead.Email Address}},
  "name": {{lead.First Name}},
  "last_name": {{lead.Last Name}}, 
  "company_name": {{company.Company Name}},
"address": {{lead.personalAddress}},
  "city": {{lead.personalCity}},
  "state": {{lead.personalState}},
  "zip": {{lead.personalZip Code}},
  "country": {{lead.personalCountry}},
"mobile_no": {{lead.personalPhone}}
},
"uuid": {{lead.Sendoso Touch ID}},
"key": "ENTER USER KEY FROM SENDOSO"
}
  • 401 - HTTP Error 401: Unauthorized access to URL

    • The custom header must be assigned to webhook
      • Customer Header should be "content-type" and Value should be "application/json"
      • To update the customer header in Marketo:
        • Admin Tab > Webhooks > Select Webhook > Webhook Actions > Set Custom Header
    • Webhook format could be corrupted and new Marketo Engage Payload template for this article is needed.

20328515f13e179e57fe2c1d931a1e5f91324b9c-3.jpg

  • 409 - Server Returned code 409 
    • Do not remove the quotations around the touch ID in the Marketo Engage Payload template
"key": "ENTER YOUR USER KEY HERE"
    • Webhook Format could be causing this and new Payload Template is needed to pasted
  • 601 - Error 2 (Invalid User Credentials): 601: Access token invalid 
    • Marketo Engage API permissions aren't set to the following for the Marketo Engage User that created the Client ID, Client Secret, and Base URL.
      • Read-Only Asset

      • Read-Write Person

Please see the following documentation for details: 

Descriptions of Role Permissions in Marketo

Create an API Only User Role in Marketo

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Article is closed for comments.