Skip to main content

Possible bug in REST API when making internal calls

I’m implementing automation for a client using FluentCRM and calling its REST API internally via rest_do_request().

When I perform a single REST call per request, everything works fine.
However, if I first do a GET request (e.g., to fetch tags), and then follow it with a POST request (e.g., to create a tag), the second call fails. It seems like FluentCRM can't access the body parameters. (422 - The title field is required)

After some investigation, it looks like this might be related to how FluentCRM reuses the request object internally within its framework.

I’ll use the API instance directly as a workaround, but it’s definitely worth looking into.

Possible bug in REST API when making internal calls