"Attempted schema writes when session type does not allow"

kindergarten question but what does it mean? Can someone please explain in detail?

Hey @troubleshooting,

You must be in a schema session to write a schema to a database in TypeDB. You’ve most likely attempted to write a schema while being in a data session.