API response is not showing in freshchat bot inbox

Hi,
I am facing an issue with API response visibility in freshchat bot inbox. It is working in the backend and I can see the output in logs but the response is not coming in the chatbot inbox. Help me to find the solution please.
Also for some questions it gives 504 error



Hi,
Did you resolve the problem? Im facing the same problem and I do not find information about this. Please let me know.
Thank you