Resources in calendar app with Calendar_Resource_Management

I have installed and activated the Calendar_Resource_Management from github into my NC hosted by webhoster.

My understanding is, I have to add available resources by php occ calendar-resource:xyz command.

I run in issues even I start to add one of the provided eamples as:

php occ calendar-resource:story:create 1 "2nd floor"

and get the failure:
Could not create entry: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (userid_nextcloud.oc_calresources_stories, CONSTRAINT FK_A7A2067F4D2A7E12 FOREIGN KEY (building_id) REFERENCES oc_calresources_buildings (id) ON DELETE CASCADE)

What do I miss here?

Many thanks for your help!

no one has an idea?

Use the example from here.

You might not have created the building yet.
In your example the “1” needs to refer to the ID of the building (after creating it).