seo – The JSON LD script appears in the Google Structured Data Testing tool and in the page source, but not in Mobile Friendly Test


We have an Angular Universal application that dynamically loads JSON LD script tags. These script tags appear in the page source.

We tested the same with the Structured Data Testing Tool and there were no errors.

However, if we tried the Mobile-Friendly Test Tool, these JSON LD script tags are loaded for dynamic loading without data:

Enter the image description here

What could be the problem?