Answers about errors
Questions and answers from the Croct community about errors.
Croct React SDK throws about client logic during SSR in our custom server rendering
We have a hand-rolled Express SSR setup (fintech, so migrating frameworks is not quick) and rendering components that use Croct hooks on the server throws the…
fetchContent works locally but returns auth errors in prod, API key looks fine
Deployed our Next.js storefront with both env vars set: Locally everything works. In production every server-side fetchContent call fails with: I created the…
Getting "Too complex query" on a long audience expression
We evaluate a condition covering a few dozen category landing pages, basically a long chain of page's path is "/x" or page's path is "/y" or ... built by…
Sentry is full of failed fetch errors to Croct endpoints from a subset of browsers
Triaging our Sentry inbox this week and one issue group dominates everything: The failing URLs are always /client/web/track and /client/web/evaluate. It is a…
Request timeout errors only in the Next.js app, JS SDK on the same network is fine
I build for users in Nairobi where connectivity can be slow and variable, so I watch latency behavior closely. We run two properties: one on the plain…
Added a new slot in the dashboard, TypeScript says the slot ID does not exist
Created a promo-banner slot in the dashboard ten minutes ago, referenced it in code, and tsc is having none of it: We run strict everything so I can't just…
Planning for a launch spike, what happens if we pass the free plan's 10k MAU?
We are a 5-person startup on the free plan with a launch coming that will likely push us past 10k MAU mid-month. I run the technical side, so I want to know…
next build fails with Dynamic server usage on a page that calls fetchContent
Added fetchContent to a route that also uses generateStaticParams and the build now fails during prerendering: The route is one of our statically generated…
About 8 percent of sessions never send events, traced it to ad blockers
As the growth lead I reconciled our Croct session counts against raw server logs and found a consistent gap: roughly 8.2% of sessions in the logs never appear…
Evaluation API keeps returning a missing client id error from my curl test
Testing the Evaluation API before wiring it into our backend. This command returns a problem response about a missing client id even though the API key is…
Track calls succeed but nothing shows in the dashboard, turned out the test transport was on
Writing this up partly to confirm my diagnosis and partly so the next person finds it. Timeline: Last Tuesday we deployed a release that included new CI…
Requests started failing after we enriched context attributes with a big object
We run a marketplace and started passing our product object as context attributes so audiences could target by category, seller, price range, etc. Worked at…