@Ronnie09 : You can check browser network tab /console tab to find the issue.
Whenever we publish page or asset, it will try to find the references and then publish all the references also along with it. As error says that, it is failing to find the references .
To get the references, there will be one call happens which you can see in Network tab, just check the data we are sending to the api is proper ot not?
Thanks,
Siva
Thanks,
Siva