Cannot create action in Custom GPT creation page

I’m trying to create my own action with custom API and there are errors.

And then I try using the example it gives (the weather API one), and it also fails. I wonder what would be an example of working JSON specification for custom action at all??