Please format code + Cypher statements with the code </> icon, it's much easier to read.
Please provide the following information if you ran into a more serious issue:
Using this or any of the other exports apoc.export.cypher.schema - APOC Documentat...