Error while decoding the graphql schema. Assuming it to be in format < 21.03

Hi,
I’m trying to do the dgraph bulk load with dql schema and graphql schema, but I got an error of :
Error while decoding the graphql schema. Assuming it to be in format < 21.03
However, I can use the graphql schema to query after loaded. I can also import this graphql schema using curl -X POST localhost:8080/admin/schema --data-binary. Just don’t understand the error.
Could you please tell me the the graphql schema I need to modify for the version >21.03?
Thanks a lot!

Can you share the schema and the step by step that you have done?

Here it is.
I did it like
dgraph bulk -f test.rdf.gz -s test.schema -g test.schema.graphql --map_shards=1 --reduce_shards=1 --zero=localhost:5080 --num_go_routines 12 --ignore_errors

uvdb.schema.graphql (58.3 KB)

@parly What version of Dgraph are you using?

@liran v21.03.2

Try to modify your schema file to this JSON format:

[{"Namespace":0,"Schema":"type Badge ..."}]

I have a similar problem on v21.09-slash, but not on v21.03.2.