I’ve figured out the following. If I copied the field group and test the export again, all fields are included in the JSON file. After this I have to reconnect this field group with other field groups by including it as clone field. After this I test it again to export the field group and the error occurs. The JSOn file is missing the all the fields. I think this is a bug.