Issue with product query grapqhl

Hi,
I’m facing an issue where the graphql product query is not working for some products. The query was working fine some time back but then i created some specification groups and fields and added data to those specifications for those products after which they stopped working. Can anyone help me with this?