There might be multiple reasons why this error occurs. I suggest adding Facebook Test ID to FB tags in the Google tag Manager server container and opening the preview mode for the GTM web and server containers. This way you’ll see what events and event IDs Facebook gets.