Skip to content
site logo mobile

Forum in maintenance, we will back soon 🙂

The AI chat Bot Ins...
 
Notifications
Clear all

The AI chat Bot Installed keeps having error message "Oops! Something went wrong! "

13 Posts
5 Users
3 Likes
16 Views
(@dagoat)
Posts: 1
New Member
Topic starter
 

Hello, 

 

To whom this may regard.  I am so thankful for this opportunity to use on my website.  However, I keep having an error message.  Has anyone seen this? And if so should it be a easy fix? Thank You

Jason,

See attached photo below .

Screenshot 2024 04 27 224429

 

 

 

image

 

 
Posted : 04/28/2024 3:52 am
Hasan Aboul Hasan
(@admin)
Posts: 973
Member Admin
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

Did you follow the full detailed guide? did you change the URLs? set your API key? 

 
Posted : 04/28/2024 10:06 am
SSAdvisor
(@ssadvisor)
Posts: 945
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

Also make sure the plugins and the code snippets are active.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 04/28/2024 12:43 pm
 Enzo
(@sinisi)
Posts: 5
Active Member
 

Thank you for all this work. Im also experiencing an issue. Since I'm new to WordPress, as I started today after seeing this video, I hope someone will help. 

Im stuck in an endless "Wait a moment" state.

When it says change URLs, does it mean to this:

http://this-is-my-domain.com/wp-json/myapi/v1/chat-bot/

or this

http://this-is-my-domain.com/   ??

 

 
Posted : 04/28/2024 1:10 pm
SSAdvisor
(@ssadvisor)
Posts: 945
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

@sinisi is this your actual URL? If not, please give it.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 04/28/2024 1:58 pm
 Enzo
(@sinisi)
Posts: 5
Active Member
 

@ssadvisor I wish! The URL on published page: https://free-ai-therapist.com/?page_id=14

 
Posted : 04/28/2024 6:20 pm
(@husein)
Posts: 274
Member Moderator
Premium Member
Prompt Engineer
Pythonista Prodigy Badge
API Entrepreneur
Power Member
 

@sinisi did you activate the wp code snippets? BEcause the bot is giving an offline status, where by default @admin put it to be online. Did you edit the code that was provided in the video?

Your error states that it is not connected to the backend yet, so try to follow this step-by-step guide and tell us if what errors you encounter.

 
Posted : 04/29/2024 5:52 am
Enzo reacted
 Enzo
(@sinisi)
Posts: 5
Active Member
 

@husein Thanks for the comments. Yes, I believe I did that. I see the snippet, its active, it has the API key.

 
Posted : 04/29/2024 7:59 am
 Enzo
(@sinisi)
Posts: 5
Active Member
 

@husein I am wondering about this URL directory structure, though.

http://free-ai-therapist.com/wp-json/myapi/v1/chat-bot-config  

I am now day 2 into my WrodPress experience. How is this route gerated: "/wp-json/myapi/v1/chat-bot-config"? 

Surely I need to define these folders somehow?

 
Posted : 04/29/2024 8:05 am
(@husein)
Posts: 274
Member Moderator
Premium Member
Prompt Engineer
Pythonista Prodigy Badge
API Entrepreneur
Power Member
 

@sinisi I was now going over the code and i saw this in the PHP backend code:

Screenshot 2024 04 29 122309

I believe this is where the route is created and accessed by the javascript code.

 
Posted : 04/29/2024 9:25 am
(@husein)
Posts: 274
Member Moderator
Premium Member
Prompt Engineer
Pythonista Prodigy Badge
API Entrepreneur
Power Member
 

So, logically when you copy paste the PHP code and fix the javascript code and paste it into the page as HTML blocks, the UI should connect to the backend and return the output.

 
Posted : 04/29/2024 9:26 am
Enzo reacted
 Enzo
(@sinisi)
Posts: 5
Active Member
 

@husein Thank you. I appreciate this! 

 

 
Posted : 04/29/2024 9:40 am
SSAdvisor
(@ssadvisor)
Posts: 945
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

@sinisi did you get this resolved? Currently the chatbot is "Offline".

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 04/29/2024 12:10 pm
Share: