Hi,
Thank you for your reply,
I’m putting here what I ran if other people face the same issue :
sudo su - postgres -c "psql -d pulpcore"
psql (12.7)
Type "help" for help.
pulpcore=# DELETE FROM core_taskreservedresource;
DELETE 16
It might fix the issues for the sync as well