Cors Error on created new record

Expected behavior

When using Forest Admin’s default record creation, a record should be created without any errors popping up.

Actual behavior

When using Forest Admin’s default record creation, sometimes an error pops up:

This error does not consitently occur, but it does happen a significant amount of times. The data is actually added to the database and Forest Admin, so it appears everything works, except for this false error.

When checking chrome:

It shows there is a CORS issue, but the 204 options request was successful.
But also, the POST request always occurs with a 200 http code:

Context

Please provide any relevant information about your setup.

  • Package Version: “forest-express-sequelize”: “^8.3.2”,
  • Express Version: “express”: “^4.17.1”,
  • Sequelize Version: “sequelize”: “6.6.2”,
  • Database Dialect: postgresql

Hey @SoftwareBridgementKe :wave:

Could you share here the console error about the cors issue?
Could you also try to copy as cURL the failing call and share (Privately) the response of the cURL?

Thanks :pray: