Event hook verification failed - Could not deserialize response

I am testing out the event hook feature in Okta, but when I try to verify the endpoint, the message came out to be:

Unable to verify event hook. Could not deserialize response due to error at Line 1 Column 1

My Azure functions will detect the X-Okta-Verification-Challenge header and outputs a response something like: { “verification”: “ks58ZrThPLf22kTDavKLhm9aukKNECTmg–3gpsw” }

What am I doing wrong here?
The authentication field, secret and header fields are empty in the settings.
Thanks.

Dear All,

Problem is solved.
The output needs to be encoded in UTF8.

1 Like

Hi kwoonfai…

We’re getting this same error while trying to setup an Event hook that calls a Snaplogic API…

In azure…how did you format the output for UTF-8?

Kevin