"Uncaught Error: [ZAF SDK] Could not find client for instance" on Modal | Community
Skip to main content

"Uncaught Error: [ZAF SDK] Could not find client for instance" on Modal

  • October 26, 2022
  • 6 replies
  • 0 views

Benessa

Hello,

I am having an " Uncaught Error: [ZAF SDK] Could not find client for instance " on my modal. I used the Zendesk modal API to create the modal.
The error occurs after I open the modal the 2nd time.

I also need to close the modal over and over again so that the content will show up.
Please check this Loom video to understand better what I meant.

Looking forward to your reply.

Thank you,
Benessa

6 replies

Tipene
  • October 27, 2022

Hey, @benessa!

I'm going to pull this in to a ticket so we can take a look at your implementation in a bit more detail. You should see a separate email coming through from me shortly.

Thanks!

Tipene


Benessa
  • Author
  • October 28, 2022

Hi @tipene,

I responded to the ticket that you created.

Thank you,
Benessa


  • September 5, 2023

@tipene and @benessa, I'm having the same issue. Can you share how this was resolved?


  • September 7, 2023

I was able to resolve my problem. I had created a wrapper around the ZAF client, but failed to bind some of the methods to the client, so at some very late point in the app lifecycle the modal broke.


  • December 28, 2023

@benessa I am having this exact problem.  Can you share what the solution was?


Greg29
  • December 29, 2023
Hi Ed! Each situation is almost definitely going to be different, so could you share the code shippet where you're trying to call the modal instance?