ChatUI: "URL not specified for Chat"

Hello,

I am getting the following error in the console when I try to test my Chat extension:

“URL not specified for Chat: Please configure your extension to include extensions.targeting.preloads.chat”

In my extension’s settings I have already defined “extensions.targeting.preloads.chat”.

[[extensions.targeting]]
module = "./src/Checkout.tsx"
target = "purchase.checkout.chat.render"

[extensions.targeting.preloads]
chat = "https://xxxxx.ngrok-free.app/chat.html"

Note that I have requested and I now have access to this functionality, so it should not be a permission issue.

The skeleton of my extension come from Shopify’s documentation.

Thank you in advance for your help!

Hi Guifo,

Digging into this with the relevant product team.

1 Like

@guifo - what CLI version are you using? If you update to latest version are you still seeing this?

Hi Liam,

Thank you for your answer.

That was the issue, I have updated my Shopify CLI version to the latest one and it works now!

Great to hear Guifo!!