Sync Sites with REST API v2 and MainWP 6.0 returns error now

After MainWP 6.0 update, call to /wp-json/mainwp/v2/sites/sync/?include=3 fail.

It now returns this error: “Ability \“mainwp/sync-sites-v1\” has invalid input. Reason: site_ids is not a valid property of Object.”

It worked perfectly before the update

Do I need to recreate the token?
Thanks,
Stephan

Hey @sburlot

I’ve reproduced this issue with the include parameter in the /sync call.

We will have it fixed in an upcoming version of the MainWP Dashboard.

The fix for this issue was released in version 6.0.2 of the MainWP Dashboard plugin on 2026-03-03.

Thanks for reporting this to us.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.