If you're seeing a red error message in the Facebook Pixel panel, but your Code Injection panel looks correct, you may have Facebook Pixel code in Google Tag Manager.
To fix this, remove the pixel code from Google Tag Manager and publish the changes in Google. After you save those changes, return to your Squarespace site and add your pixel ID.