# Problem in node ‘AI Agent‘

**URL:** <https://community.n8n.io/t/problem-in-node-ai-agent/82662>\
**Category:** Questions\
**Created:** [February 27, 2025, 9:57pm UTC](https://community.n8n.io/t/problem-in-node-ai-agent/82662 "2025-02-27T21:57:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamza\_twelve](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/hamza_twelve/32/61296_2.png) [@hamza\_twelve](https://community.n8n.io/u/hamza_twelve)\
**Post date:** [February 27, 2025, 9:57pm UTC](https://community.n8n.io/t/problem-in-node-ai-agent/82662/1 "2025-02-27T21:57:49Z")

</div>

Found similar issues, but none of the answers fixed mine

Tried to use an AI Agent, got a prompt as an input and this is my error:  
" Problem in node ‘AI Agent‘  
Error Cannot POST /api/chat  
Output:

 Error 
```
Cannot POST /api/chat
```
 "

 ![Capture d’écran 2025-02-27 à 22.55.43](https://europe1.discourse-cdn.com/n8n/original/3X/5/0/50a3f282373786bafc267fa6d861cbdb377adcc8.png)

Version: 1.79.3 self host via docker on mac silicon latest version

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/26906_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [February 27, 2025, 9:57pm UTC](https://community.n8n.io/t/problem-in-node-ai-agent/82662/2 "2025-02-27T21:57:51Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![Daniel\_Lamphere](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/daniel_lamphere/32/39212_2.png) [@Daniel\_Lamphere](https://community.n8n.io/u/Daniel_Lamphere)\
**Post date:** [February 28, 2025, 1:51am UTC](https://community.n8n.io/t/problem-in-node-ai-agent/82662/3 "2025-02-28T01:51:07Z")

</div>

Could you download your workflow and paste it inside a preformatted text box: \</\>

---

<div class="post-metadata">

**Author:** ![Ruslan\_Yanyshyn](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ruslan_yanyshyn/32/15080_2.png) [@Ruslan\_Yanyshyn](https://community.n8n.io/u/Ruslan_Yanyshyn)\
**Post date:** [February 28, 2025, 2:11am UTC](https://community.n8n.io/t/problem-in-node-ai-agent/82662/4 "2025-02-28T02:11:46Z")

</div>

> **How to share workwlow**
>
> #### Pasting your n8n workflow
> 
> * * *
> 
> Ensure to copy your n8n workflow and paste it in the _code block_, that is in between the pairs of triple backticks, which also could be achieved by clicking `</>` (preformatted text) in the editor and pasting in your workflow.
> 
> ```auto
> <your workflow>
> 
> ```
> 
> That implies to any JSON output you would like to share with us.
> 
> Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!

---

<div class="post-metadata">

**Author:** ![Yo\_its\_prakash](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/yo_its_prakash/32/61424_2.png) [@Yo\_its\_prakash](https://community.n8n.io/u/Yo_its_prakash)\
**Post date:** [February 28, 2025, 7:45am UTC](https://community.n8n.io/t/problem-in-node-ai-agent/82662/5 "2025-02-28T07:45:40Z")

</div>

Check weather the Ollama is running properly and weather you pulled the image, try chatting once inside the ollama itself, then try to call it via API

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [May 29, 2025, 7:45am UTC](https://community.n8n.io/t/problem-in-node-ai-agent/82662/6 "2025-05-29T07:45:46Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
