# Getting CORS issue on smart action create

**URL:** <https://community.forestadmin.com/t/getting-cors-issue-on-smart-action-create/8141>\
**Category:** Help me!\
**Tags:** smart-action\
**Created:** [June 2, 2025, 2:15pm UTC](https://community.forestadmin.com/t/getting-cors-issue-on-smart-action-create/8141 "2025-06-02T14:15:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sudarshana](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Sudarshana](https://community.forestadmin.com/u/Sudarshana)\
**Post date:** [June 2, 2025, 2:15pm UTC](https://community.forestadmin.com/t/getting-cors-issue-on-smart-action-create/8141/1 "2025-06-02T14:15:35Z")

</div>

## Feature(s) impacted

While creating entity via smart action getting error.

## Observed behavior

While creating entity (Experience)via smart action getting CORS error intermittently

## Expected behavior

Should succesfuly create new entity via smart action

## Failure Logs

 ![image (3)](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/c/c8f4831b3891335c4559e5a3cf403b99b3375d8e.png)

## Context

- Project name: Curator
- Team name: Developer
- Environment name: Production AUS
- Database type: Mysql
- Recent changes made on your end if any: …

**And, if you are self-hosting your agent:**

- Agent technology: (nodejs, php, ruby, python) - nodejs
- Agent (forest package) name & version (from your .lock file): -

- Package Version and name: forest-express-sequelize 9.3.5
- Express Version: 4.20.0
- Sequelize Version: 6.30.0
- Database Dialect: MySql

---

<div class="post-metadata">

**Author:** ![Alban\_Bertolini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/alban_bertolini/32/1077_2.png) [@Alban\_Bertolini](https://community.forestadmin.com/u/Alban_Bertolini)\
**Post date:** [June 2, 2025, 2:46pm UTC](https://community.forestadmin.com/t/getting-cors-issue-on-smart-action-create/8141/2 "2025-06-02T14:46:00Z")

</div>

Hello @Sudarshana,

CORS errors typically occur when your agent doesn’t authorize requests from the Forest Admin frontend.  
Do you happen to have multiple instances of your agent running? If so, one of them might be misconfigured, which could explain the issue.

To help us to understand the issue, could you share the network request logs?  
Also, could you check your agent logs? If you are not a developer, you could ask it to your tech team.

Let us know if you need help investigating this.  
Alban

---

<div class="post-metadata">

**Author:** ![Sudarshana](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Sudarshana](https://community.forestadmin.com/u/Sudarshana)\
**Post date:** [June 3, 2025, 10:31am UTC](https://community.forestadmin.com/t/getting-cors-issue-on-smart-action-create/8141/3 "2025-06-03T10:31:54Z")

</div>

@Alban_Bertolini ,  
We have already allowed origin for forest admin frontend. This issue is intermittent

Please find network logs below:

 ![image (4)](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/7/7a5f7e72d15e5ecf27dcc1a334f220249ab4d3fd.png)

---

<div class="post-metadata">

**Author:** ![Alban\_Bertolini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/alban_bertolini/32/1077_2.png) [@Alban\_Bertolini](https://community.forestadmin.com/u/Alban_Bertolini)\
**Post date:** [June 3, 2025, 11:00am UTC](https://community.forestadmin.com/t/getting-cors-issue-on-smart-action-create/8141/4 "2025-06-03T11:00:45Z")

</div>

Could you please provide the **network logs** instead of the console logs?  
In the **Network** tab, you should see a request highlighted in red — this likely indicates the source of the error.

Also, please ask your developer to check the **agent logs** on your side, as the issue seems to be originating from there.

---

<div class="post-metadata">

**Author:** ![Sudarshana](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Sudarshana](https://community.forestadmin.com/u/Sudarshana)\
**Post date:** [June 6, 2025, 6:02am UTC](https://community.forestadmin.com/t/getting-cors-issue-on-smart-action-create/8141/5 "2025-06-06T06:02:19Z")

</div>

@Alban_Bertolini thanks. The issue is resolved now.
