Home App Docs Blog Github

Internal server error when using QWIK API

Hi team!

I got interested in the new QWIK API and decided to give it a shot as it seems to have a big potential to improve performance.
I ran into some issues that are worth reporting. For several pages, the API returns a 500 error, while for other pages it is working fine. The only explanation I have so far is that those pages contain a symbol that fetches data from an endpoint.

Any help is appreciated.
Best,
Vincent

Working API call
https://cdn.builder.io/api/v1/qwik/blog-page?userAttributes.urlPath=/worth-the-hype-fenty-beauty-lip-cream-lip-gloss-review

Failing API calls
https://cdn.builder.io/api/v1/qwik/product-landing-page?userAttributes.urlPath=/
https://cdn.builder.io/api/v1/qwik/product-landing-page?userAttributes.urlPath=/category/fashion

P.S. Happy to DM my public key if needed.

Hi Vincent,

Thanks for reaching out. For me all of the URLs fail with Error: organization is missing. You need to append &apiKey= YOUR_API_KEY. Since you said that one URL used to work I assume the above is cut&paste error. Once you fix the URLs I am happy to look at it.

– Misko

Thanks for the repro instructions, should have a resolution for you soon.

I have looked into it, and it will require a more complex fix. We will probably get back to it early next year.

Awesome, thanks for getting back to me.
Would you know what is causing it and if there would be a way around it in the mean time?

Appreciate the help, thanks,
Vincent

Still working on this, should have something soon. (Sorry holidays got in the way)

Thanks for the update Misko, no worries, holidays are important!

Vincent