This page does not provide instructions that actually work. The examples are missing required fields from datasets, and don't show you how to authenticate with a bearer token.
While I like the concept of this page, I think it should be removed unless someone has the time to update it.
It might be better to point to the pyscicat page on ingestion, since this is how a lot of people do it in the real world: https://www.scicatproject.org/pyscicat/howto/ingest.html