
i8prw (i8prw) asked a question.
I'm following the official docs to implement the telephony inline hook: https://developer.okta.com/docs/api/openapi/okta-management/management/tag/InlineHook/*tag/InlineHook/operation/createTelephonyInlineHook
When my service returns successful response to Okta's inline hook everything works as expected. However when it returns a failure (with 200 http status code) I see this parsing error in Okta logs:
Inline Hook execution failed FAILURE: Hook "telephony_hook" execution failed. Could not deserialize inline hook response due to error at Line 1 Column 10
I can't find any major difference between the success and failure responses.
Successful response example:
Failure response example:

Hi @i8prw (i8prw) , Thank you for reaching out to the Okta Community!
Although this article is not telephony related, the error seems to be similar and points towards a syntax error.
If you have an account with us and are a SuperAdmin/Case Admin, please open a case to work with my colleagues from the Support Team to investigate this further. They'll be able to access additional tools and resources to help you get to the bottom of it.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--
Ask Us Anything about Okta FastPass - now thru December 11th.
@i8prw (i8prw) -- based on it being line 1, column 10 that makes me think the "pretty print" display you are showing in your screenshots isn't how its actually being processed.
I suspect it is more like {"commands":[{ ....
My guess would be the difference between command: & commands:
Thank you! I figured it out, there is an issue with the official reference docs. The error property should actually be an object and not an array. I'm attaching screenshot marking it..