The response is not a valid JSON response - message appears after any CSAI prompt/command?

I’m trying to test out the AI features, and any command I give results in the above response.

I’m using the Studio option, giving a prompt to build a page from an uploaded mockup along with instructions, and after what looks like a promising response e.g “Building sections, selecting fonts, etc…” it just comes back with “the response is not a valid JSON response” and nothing else.

Just for extra context, I’ve made 3 prompts, getting simpler each time for troubleshooting, none of which worked, and I’m seeing that I’ve used almost 20% of my 2x allowance already…

Thank you for the inquiry. Would you mind posting your login details in the private field so we can check the Studio thread? Also, which model are you using? Please share a screenshot of the mockup too, so we can test it on our end.

Will upload everything in a secure note

It wont let me upload the mockup, its only 1.2mb but it’s telling me it’s too large. I’ll upload it to the media section of the site

Thanks for the info. We were able to build a section based on an image reference and another standalone section. However when we tested your allard-mockup-scaled.jpg reference image we got the same error. It looks like your server is cutting off the request after about 60 seconds. We went ahead and tested it on our own installation and managed to build the page from the reference. We uploaded this to your site via the Design Cloud library, named “Allard Mockup”.

Next step is to ask your hosting provider to raise the request timeout of your web server to at least 300 seconds, up to 600 seconds, to make sure that any request you put through Studio isn’t cut off prematurely. Your site runs on Litespeed so the settings they need to change are the Connection Timeout and the Initial Request Timeout. Your PHP time limit is already 300 seconds so that one is fine.

Thanks for the reply. I’ve checked out the page and it looks good, although I’ve noticed there are already 100+ lines of custom code, and every element has element css, custom attributes or both… A lot of this is for really basic things like font colours and sizes etc. Is there not a way to get this much cleaner using native tools? Is the AI in tune enough with the Cornerstone builder to do this?

Also, is there anything that can be about the usage I’ve apparently incurred so far? For half a page being constructed I’m almost at 40% which is nowhere near what is stated in the FAQ on the sales page

The custom css is not related to the build itself. It was custom css on our end that was exported with the build. We removed it for you. Regarding usage, Image to Layout is a heavy process because it uses vision from a top-tier model to read the image, and at least 3 or 4 of those failed for you. You still have more than 60% of your usage left, and edits use fewer credits, so you should be able to finish the page with what’s left.

I’ve checked with Hostinger where I have my sites hosted, and apparently there’s no way of increasing the limits suggested.

The element CSS still seems to be a sticking point with this, despite stating “do not use element css, custom attributes” and so on, it still continues to add custom code in places where native features are available. This just seems really clunky.

Yes, sometimes it adds custom css for styles that element properties can’t cover, but not for everything. Could you point us to the element with the issue? We created a new page for you called Allard Mockup B and you should see the same blank Page CSS and a bit of Element CSS on certain elements.

We’ll see what we can do about the timeouts. In the next patch we’re changing how Studio builds run so they work in the background and servers with shorter timeouts don’t cut them off.

Thank you for your patience.

Thanks again. It’s almost every element to be honest. If you take that latest mockup (B) and look at the code on the screenshot from a simple button. It just seems such overkill to have element code for the hover interaction colour and animation, plus every part of the font styling when it’s all available to set natively using the normal tools.Screenshot 2026-12-03 at 16.01.36

I’ve checked Mockup B, and the Element CSS is not on every element. Yes, some elements have Element CSS, and I agree that this particular Button element shouldn’t have that much of it. Since we have this page on our local site, we’ll see what we can do about it and investigate why it applied the custom css there.

CSAI is not perfect and sometimes its output will be subjective, and it’s also an evolving product, so if you think the page it generated is good now, imagine what it can do a year after or two. Again, thank you for your patience with all of this.

For sure, and I apologise if I sound too frustrated as I’m aware that after a few iterations it will improve and become more in tune with the Pro theme itself. I think for now I’ll try to keep my usage to a minimum and only attempt to change small pre-built areas rather than build from scratch as that may cause more trouble in the mean time