On this page
What this issue is
Most web apps load a page shell first, then fetch the real data from an API (an address your app calls to get or save data, such as /api/projects). If that call returns an error, takes too long or returns JSON without the fields the page expects, the shell still renders. The customer sees an empty table, a spinner that never ends, or a button that does nothing.
- LoginSession created
- Dashboard page loadsHTML and scripts return 200
- API call500, timeout or missing fields
- Data shownEmpty or spinning
- Key actionCreate, upgrade, invite
The page loads, so uptime tools stay green, but the data call fails and the later steps are lost.
Why it costs you leads or sales
Signed-in users are your trial users and paying customers. If their dashboard is empty during onboarding, they cannot reach the first useful moment and may leave before they activate. If it breaks for paying customers, support tickets rise and renewals are at risk. Upgrade and checkout screens inside the app often rely on the same API, so revenue steps can fail silently.
Example: illustrative numbers only. A broken data call during onboarding can cut the share of trial users who reach a first result.
The screen renders, the API request fails, and the customer sees an empty state.
How to check if your site has it
Log in as a normal customer
Use a test account with the same plan and role as real users, not an admin account that may bypass limits.
Open the Network tab
In Chrome, press F12, choose Network, filter by Fetch/XHR and reload the dashboard.
Look for red or slow requests
Note any 4xx or 5xx status, and any request taking several seconds.
Read the response body
Open the Response tab. Check the JSON contains the fields the page needs, such as
id,nameorplan. A 200 withnullor an empty object is still a failure.Check server logs
Look at your application and error logs for the same time and request path.
| What you see | Likely cause |
|---|---|
| 401 or 403 only for some users | Expired token, cookie not sent, role or permission rule changed |
| 500 after a release | Bad deploy, failed database migration, missing environment variable |
| Slow answers (several seconds) | Slow query, missing database index, third-party call inside the request |
| 200 but fields missing or null | Response shape changed, renamed field, feature flag off for that account |
| CORS error in the console | API domain or headers changed so the browser blocks the call |
How to fix it
Reproduce it with the failing request
Copy the request as cURL from the Network tab and run it. This separates a server problem from a front-end one.
Fix the root cause
Roll back the release, restore the missing config, add the missing database index, or correct the permission rule, depending on what the logs show.
Keep the response shape stable
If a field must change, keep the old one until the front end is updated, or version the API (for example
/v2/).Make the front end fail visibly
Show an error message and a retry button instead of an endless spinner, and log the failure to your error tracker.
Add a timeout and a budget
Decide an acceptable response time for key endpoints and alert when it is exceeded.
curl -s -o response.json -w "status=%{http_code} time=%{time_total}s\n" \
-H "Cookie: session=YOUR_SESSION_VALUE" \
https://app.example.com/api/projects
# Check a required field exists (needs jq)
jq -e '.items[0].id' response.jsonHow to confirm it's fixed
- The key endpoints return 200 for a fresh signed-in test account
- Response time is within your agreed limit on repeated requests
- The JSON contains every field the page uses, with real values
- The dashboard shows data in a clean browser session
- No new 4xx or 5xx entries appear in logs for the same paths
- The key action (create, invite, upgrade) completes end to end
How to prevent it happening again
Most of these breaks arrive with a release, a config change or a third-party outage. Put the signed-in journey into your release routine and watch it between releases.
- Run an automated test of key endpoints with a real session after every deploy
- Check status, response time and required JSON fields, not just that the page loads
- Treat response shape changes as breaking changes
- Use a test account per plan and role
- Set up error tracking and alerts on 5xx rates
- Re-check from more than one region to rule out a local network issue
Example: 10:00
A release changes a field name in an API response.
Example: 10:05
Dashboards render but the table is empty. Uptime checks stay green.
Example: 14:00
Trial users stall at onboarding and support gets the first message.
Example: next day
The cause is found and the change is reverted.
How FunnelGuard handles this
FunnelGuard detects this today. Its api_request step calls your app's own API using the signed-in session of the robot visitor running the journey, then checks the HTTP status, the response time and the JSON fields you expect.
The journey runs on a schedule from the EU or the US. If a check fails, it is re-checked from a second region before one alert goes out (email, Slack, Teams, WhatsApp, webhook or PagerDuty) with a screenshot and a likely cause. Test traffic is marked (utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent). It does not bypass CAPTCHAs or bot protection, so if your login is protected that way you need to allow for the test account in a way your own policies permit.
Questions people ask
Why does my dashboard load but show no data?
The page shell loaded, but the API request that fetches the data probably failed, timed out or returned empty JSON. Open the Network tab, filter by Fetch/XHR and look for 4xx or 5xx responses or a body missing the expected fields.
Why is my API returning 401 or 403 only for logged-in users?
The session cookie or token may be expired, not sent with the request, or rejected by a changed permission rule. Test with a fresh login and compare the request headers with one that works.
How do I monitor an API that needs a login?
Use a check that signs in as a test account and then calls the endpoint with that session, verifying status, response time and JSON fields. FunnelGuard's api_request step does this on a schedule.
Why does uptime monitoring not catch a broken app API?
Basic uptime checks request a page and look for a 200 status. The page can return 200 while the API calls it makes behind a login fail, so you need a check that uses a signed-in session.
What counts as a slow API response?
It depends on the endpoint, so set your own limit. A common approach is to pick a time that keeps the screen usable for customers and alert when a key endpoint goes over it.
How can a 200 response still be broken?
The status can be 200 while the JSON is empty, null or missing fields the page needs, for example after a renamed field. Check the body, not just the status code.
How do I stop a release from breaking the API for customers?
Treat response shape changes as breaking, keep old fields until the front end is updated, and run an automated signed-in check after each deploy.
Related issues
- CNV-299Session expires mid-onboardingFix guide
- CNV-292Onboarding step crashesFix guide
- CNV-288Login form brokenFix guide
- CNV-293Activation event not trackedFix guide
- CNV-396Passwordless sign-in broken: magic-link or sign-in code email not sent, link expired, code rejectedFix guide
- CNV-283Signup form errors on valid dataFix guide