<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000AIGT58CQHOkta Identity EngineWorkflowsAnswered2025-02-14T09:00:45.000Z2024-12-02T10:59:04.000Z2024-12-15T14:25:50.000Z
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'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:

Image is not available
 

Failure response example:

Image is not available
It looks like the Line 1 Column 10 refers to the "error" array opening bracket. I would appreciate any help understanding what am I doing wrong 🙏


  • Mihai N. (Okta, Inc.)

    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.

     

    Expand Post
  • TimL.58332 (Workflows)

    @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:

    Expand Post
  • i8prw (i8prw)

    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..

    Image is not available

    Expand Post

Loading
Inline Hook execution failed FAILURE: Hook "telephony_hook" execution failed. Could not deserialize inline hook response due to error at Line 1 Column 10