updateGQLSchema returns Unexpected \u003cInvalid\u003e\n

does this help: Error updating schema with @custom directive ?