A few years ago I created a FME-hub custom transformer InlineGeoJSON. It creates a GeoJSON file with FeatureCollections. The transformer works fine in fme 2020, but does not work in versions starting from FME 2021. This has something to do with the dynamic schema setup.
The current error is:
GEOJSON writer: Unknown feature type 'GeoJSON' passed to the JSON writer
InlineGeoJSON_FeatureMerger (ReferenceFactory): GEOJSON writer: Unknown feature type 'GeoJSON' passed to the JSON writer
I tried many different solutions, for example:
- replacing the schemasetter with the new schemascanner
- changing the schema definition name
- changing the feature type name
I added my workspace with the current test workspace. Does anyone have an idea how to solve this?

In this example I removed all attributes and set the FeatureWriter to Dynamic Schema Definition.
If you use a SchemaScanner, this actually resolves the issue as the SchemaScanner generates an fme_feature_type_name attribute which is the name of the schema that was just scanned. Try using the Schema Scanner and setting the Schema Definition Name in the writer feature type as this should resolve the issue. 