Dataset JSON Parse

I have a dataset where I am appending ndjson files, and it’s forcing me to use csv parser when I auto infer the schema. I tried forcing the schema to use a json parser and get

com.palantir.foundry.spark.api.errors.UnsupportedFoundrySchemaException

Please help thank you