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
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
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
@Alban_Bertolini ,
We have already allowed origin for forest admin frontend. This issue is intermittent
Please find network logs below:
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.
@Alban_Bertolini thanks. The issue is resolved now.