Yes the timeout on mainnet is 30s. The JSON seems correct to me.
I added a 25sec limit in my prompt and it worked out. So yes, it’s definitely the timeout.
Nice that they have this option. If really necessary we could also bump the timeout limit. The feature was release pre ChatGPT