Smart Actions returns a 200 but forest shows me an error message

Feature(s) impacted

Custom smart action

Observed behavior

I followed the doc and implemented a smart action in my rails back-end. The action run successfully in my app (it’is actually done & there is no error in the logs: the response is a 200), but I see an error message in forest.

Expected behavior

As our server returns a 200 with a success message, I should see that success message.

Failure Logs


  • Project name: Squarehub
  • Team name: Operations
  • Environment name: Squarehub - Production
  • Agent type & version: Rails gem: “forest_liana”, “~> 7.7”
  • Recent changes made on your end if any: First time implementing a smart action

Hello @Nelson,

Thanks for providing so much detail about your issue.

In your capture, we can see that the request is displayed in red, meaning that the browser detected an error about it. Can you please check the console to see if there is any error message regarding this request?

Hi @GuillaumeGautreau, thank you for reacting so promptly.

I’ve noticed it as well right after posting the issue, it’s actually a CORS error. I’ve just pushed the changes to production, I guess it should fix this.

Sorry for the inconvenience, I’ll close this issue an re-open a new one if another issue spawns.

Have a good one!