I am using the below Share Plugin of LinkedIn in my ReactJS app:
<script src="https://platform.linkedin.com/in.js" type="text/javascript">lang: en_US</script>
<script type="IN/Share" data-url="https://www.linkedin.com"></script>
From LinkedIn Docs: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/plugins/share-plugin
It is working completely fine on Chrome/Firefox/Safari. But, on clicking the LinkedIn Share button (generated by the above scripts), the LinkedIn Share Popup appears and I get an error in my app console which says:
[object Error]: {description: "[Messenger] Required property 'target' was not provided", message: "[Messenger] Required property 'target' was not provided", nr@seenError: true, stack: "Error: [Messenger] Required property 'target' was not provided at Anonymous function (https://platform.linkedin.com/xdoor/scripts/in.js:7:55143) at Array.prototype.forEach (native code) at t (https://platform.linkedin.com/xdoor/scripts/in.js:7:54936) at e (https://platform.linkedin.com/xdoor/scripts/in.js:7:56462) at e (https://platform.linkedin.com/xdoor/scripts/in.js:7:34661) at value (https://platform.linkedin.com/xdoor/scripts/in.js:18:23834) at s (https://platform.linkedin.com/xdoor/scripts/in.js:18:38221) at nrWrapper ([MY_SITE_LINK_ADDRESS]:9:16587)"}
Note: I hid the [MY_SITE_LINK_ADDRESS].