Gallery Block in template, validation fails after adding column number

Thanks to Toms reply I took a closer look again with fresh eyes and saw that I wrote columns: '2' instead of columns: 2. I also added the linkTo: 'media' attribute and rearranged the code to follow documentation (passing BlockProps to innerBlocksProps – I edited the original code post to reflect that).

tech