https://retellai.com/?utm_source=discord&utm_medium=seo logo
I keep getting errors on f12 console when trying t...
# ❓・ai-evy-support
t
@AI Evy I keep getting errors on f12 console when trying to use my ai chatbot on my website. a 404 get chat errorz
a
Thanks for tagging me @Tubussie. I'll look through relevant sources and get back to you shortly.
### Answer A 404
get-chat/undefined
error typically means the widget never creates a chat ID, so Retell isn't reaching authentication yet. [(1) ]() Common causes: - Missing or incorrect agent ID — The widget config may not have the agent ID properly set - Wrong environment configuration - WordPress loading the script before the config — Very common with caching or defer settings Domain/origin mismatch: Based on a previous conversation you had, if your chatbot is running on
vireonai.co.za/wp/
but only
vireonai.co.za
is in your allowed domains, this will cause a 401 error on create-chat. Retell checks the exact origin where the chat is loaded from. Troubleshooting steps: 1. Open DevTools and check the failed request to see the exact Origin/Referer being sent 2. Verify your agent ID is correctly configured in the widget initialization 3. Check your allowed domains in the Retell dashboard match exactly where the widget is loaded from 4. If using WordPress, ensure the widget script loads after the configuration is set (check for caching/defer issues) Could you confirm what Origin/Referer shows on the failed request in your browser's Network tab?
​ To learn more, see the sources I considered: [[1] Discord message from @itstubzy on 2026-01-13](https://discord.com/channels/1186424376300679209/1294891368505937952/1460668540058079365) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
t
@AI Evy Request URL https://vireonai.co.za/wp/wp-json/wp/v2/users/me?context=edit&_locale=user Request Method GET Status Code 401 Unauthorized Remote Address 156.155.252.27:443 Referrer Policy strict-origin-when-cross-origin access-control-allow-headers Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type access-control-expose-headers X-WP-Total, X-WP-TotalPages, Link allow GET content-type application/json; charset=UTF-8 date Fri, 16 Jan 2026 10:52:22 GMT link ; rel="https://api.w.org/" server Apache vary Origin x-content-type-options nosniff x-robots-tag noindex x-wp-nonce 58c0622e6b :authority vireonai.co.za :method GET :path /wp/wp-json/wp/v2/users/me?context=edit&_locale=user :scheme https accept application/json, */*;q=0.1 accept-encoding gzip, deflate, br, zstd accept-language en-US,en;q=0.9 cookie wp-settings-time-1=1764585211; wp-settings-1=libraryContent%3Dbrowse; wp-settings-time-2=1768036422; wp-settings-2=libraryContent%3Dbrowse%26editor%3Dtinymce; cookieyes-consent=consentid:MHd5RUttY1Uyc1ZjOXNINXFVeUtsSnFtQW1BWjRQSzE,consent:yes,action:yes,necessary:yes,functional:yes,analytics:yes,performance:yes,advertisement:yes; burst_uid=6093d3fe35e5fde4535c2687d8737dd3 priority u=1, i referer https://vireonai.co.za/ sec-ch-ua "Google Chrome";v="143", "Chromium";v="143", "Not A(Brand";v="24" sec-ch-ua-mobile ?0 sec-ch-ua-platform "Windows" sec-fetch-dest empty sec-fetch-mode cors sec-fetch-site same-origin user-agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 x-wp-nonce 82dd54a20f
a
Thanks for the follow-up, @Tubussie. I'll get back to you soon.
### Answer The error you're seeing (` is actually a WordPress REST API request, not a Retell AI chatbot request. This is WordPress trying to authenticate your logged-in user session—it's unrelated to the Retell Chat Widget. [(1) ]() To find the actual Retell chatbot error, look in your browser's Network tab for requests to Retell's API domains (like
api.retellai.com
or similar) . The
get-chat/undefined
error mentioned earlier would appear on a Retell endpoint, not a WordPress
/wp-json/
endpoint. For the Retell Chat Widget specifically: 1. Ensure your public key is configured with the correct allowed domains in your Retell dashboard [(2) ]() 2. Add both
vireonai.co.za
and
vireonai.co.za/wp
(or use
localhost
for local testing) to your allowed domains list 3. Verify your agent ID is correctly set in the widget initialization code [(1) ]() Filter your Network tab to show only requests to Retell's domain and share that specific error—the WordPress 401 you shared is a separate issue from your chatbot integration.
​ To learn more, see the sources I considered: [[1] Discord message from @itstubzy on 2026-01-13](https://discord.com/channels/1186424376300679209/1294891368505937952/1460668540058079365) [[2] Public Keys](https://docs.retellai.com/accounts/public-keys) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.