Retrieving response of a Munchkin API | Community
Skip to main content
Level 4
December 26, 2019
Question

Retrieving response of a Munchkin API

  • December 26, 2019
  • 1 reply
  • 1534 views

Hi Marketo Ninjas,

My technical team has a question -
Is there any way of retrieving the response of Munchkin Associate lead call .How can the response for the same (Either success or failure) be captured in Java Script code.

Best,

Manish

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
December 31, 2019

What failure(s), specifically, are you trying to catch? Failure is too broad a category.

A non-matching hash (associator token) will cause an HTTP-level error 401, for example. This should be de facto impossible because the token is generated on your server.

It's also possible, of course, for there to be a DNS or TCP-level error.

However, the absence of an error doesn't mean the association (and optional data value updates) is actually complete. That happens asynchronously.