Q. Why is my cannonical tag not referencing the correct URL?
In case the canonical tag is not referencing the correct URL, you might need to export all the URLs from the SEO URLs Panel and check how the canonical tag was set up.
Please check on how to implement canonical tags in the Guide section.