Publishing Google Sheets in an iframe

I’ve got some Google Sheets tabs we’ve been using to log my gliding club member’s achievements during lockdown periods we can’t access our club’s rooms easily. Not a perfect way to do things, but it’s worked so far. Not for 2022.

This, for 2021, works, as does one with gid=0:

<iframe src="https://docs.google.com/spreadsheets/d/e/2PACX-1vRFU5ho5zVygniKRe3FzAlE0ZnpTOrGB_GQvL_6daV_3JCJuvfOW1Qw-1xMZ04nP3dwGY7WA5PhCqa4/pubhtml?gid=1424714235&single=true&widget=true" style="border: 0" width="550" height="521" frameborder="0" scrolling="no"></iframe>

This one, for the 2022 tab with a different gid value, doesn’t:

<iframe src="https://docs.google.com/spreadsheets/d/e/2PACX-1vRFU5ho5zVygniKRe3FzAlE0ZnpTOrGB_GQvL_6daV_3JCJuvfOW1Qw-1xMZ04nP3dwGY7WA5PhCqa4/pubhtml?gid=291789586&single=true&widget=true" style="border: 0" width="550" height="521" frameborder="0" scrolling="no"></iframe>

Can’t verify either on try.discourse.org but tried them here Tryit Editor v3.7 and both worked. In my club’s discourse instance, only the first one is rendered. All you need do is replace the gid value, the older tab is rendered, the newer one is not.