Hey team, what's going on here? I'm trying to run the documented code snippet from https://develope
Hey team, what's going on here?
I'm trying to run the documented code snippet from https://developers.cloudflare.com/browser-rendering/rest-api/json-endpoint/#using-a-custom-model-byo-api-key
Simply replacing the ai provider from anthropic to google-ai-studio/gemini-2.5-flash, or google-ai-studio/gemini-flash-latest. I get the error {"success":false,"errors":[{"message":"AI error: undefined: undefined"}]}%. Looks like someone else is having the problem too: https://community.cloudflare.com/t/browser-rendering-json-with-custom-ai/854912
Am I missing something here, or is the snippet in the documentation incorrect?
I'm trying to run the documented code snippet from https://developers.cloudflare.com/browser-rendering/rest-api/json-endpoint/#using-a-custom-model-byo-api-key
Simply replacing the ai provider from anthropic to google-ai-studio/gemini-2.5-flash, or google-ai-studio/gemini-flash-latest. I get the error {"success":false,"errors":[{"message":"AI error: undefined: undefined"}]}%. Looks like someone else is having the problem too: https://community.cloudflare.com/t/browser-rendering-json-with-custom-ai/854912
Am I missing something here, or is the snippet in the documentation incorrect?


