What are APIs errors’ impacts on the User’s experience?
As API requests are about fetching or sending data when the visitor triggers a specific action in the browser, the consequence of an API error usually is a break in the User Experience.
Use this workflow when
Use this workflow when a page, screen, or journey is failing because a service request is returning an error or an unexpected response.
Use these questions to move from the error message to a useful hypothesis:
- Where does it occur? Check the page, page group, device, browser, or segment.
- When did it start? Compare the error trend with a release or implementation change.
- How many users are affected? Compare Error count with Sessions with errors and Error rate.
- Does it block a valuable action? Review Session Replay and supported goal-impact metrics.
- Is it a client-side error or a server error ? Check the status code of the error
Understand what is collected
Experience Platform collects API errors from supported network requests. The default collection captures requests with status codes in the 4XX–5XX range and includes basic information such as:
- Request URL or endpoint.
- HTTP method.
- Status code.
- Page or screen context where available.
The current collection behavior can record up to 20 API errors per pageview.
Find API errors quickly
- From the Sessions with errors widget, filter the list on API errors.
Use the widget to identify high-volume or high-rate errors. - From the Error Explorer, apply the API error filter.
Use the Error Explorer when you need more filters or want to inspect all matching errors.
Note that you can used advanced filters to filter by API method, API status code, Request URL when the filters are available.
Use the endpoint and status-code filters together. A status code can be returned by many endpoints, while an endpoint can return different status codes for different failure modes.
Read API Error details
Open Error Detail to understand what request failed and how widely it affected users.
| Detail | What it tells you |
| Request URL or endpoint | Which service or route returned the error. Check whether the endpoint contains a dynamic identifier. |
| HTTP method | What operation the page or screen attempted, such as GET, POST, PUT, PATCH, or DELETE. |
| Status code | The response category returned by the service. Use it as a starting point, not as the complete diagnosis. |
| Request headers * | Metadata sent with the request when the collection rule allows it. |
| Response headers * | Metadata returned by the service when the collection rule allows it. |
| Request body * | The data that was sent to the service |
| Response body * | The data that was returned by the service |
| Query parameters* | Parameters included in the request URL when their collection is enabled. |
| Page or screen context | Where the request was triggered in the user experience. |
| Error group | The normalized group used to combine similar API failures. |
| Sessions with errors and Error count | The reach and frequency of the API failure in the selected context. |
(*) Advanced Troubleshooting details collection.
If a field is not visible, check whether the API collection rule includes it and whether the selected data source supports it.
About the status code
| Status code | Common meaning | What to check next |
| 400 Bad Request | The server could not process the request because the request was invalid. | Check the request body, query parameters, required fields, and client-side validation. |
| 401 Unauthorized | The request did not include valid authentication credentials. | Check the authentication state, token handling, and login flow. |
| 403 Forbidden | The server understood the request but refused to authorize it. | Check permissions, account state, access rules, and the affected user journey. |
| 404 Not Found | The requested endpoint or resource could not be found. | Check the endpoint, route, resource identifier, and release changes. |
| 408 Request Timeout | The server did not receive the complete request within the expected time. | Check network conditions, request duration, and client retries. |
| 429 Too Many Requests | The client or account exceeded a rate limit. | Check request frequency, retry behavior, and service rate-limit guidance. |
| 500 Internal Server Error | The service encountered an unexpected server-side problem. | Check the response body, server logs, affected endpoint, and release timing. |
| 502 Bad Gateway | A gateway received an invalid response from an upstream service. | Check upstream dependencies, gateway configuration, and timing. |
| 503 Service Unavailable | The service was unavailable or unable to process the request. | Check service health, deployments, capacity, and retry behavior. |
Status-code meanings can depend on the service. Confirm the cause with the API owner or service documentation.
API troubleshooting details
To use this feature you first need to enable specific network collection rules, and have made sure network detail PII masking has also been defined.
Use the smallest set of troubleshooting details needed to answer your question. Do not share request or response content until you review the personal-data handling guidance.
Compare technical and customer impact
Use technical details to understand what failed.
Use See Replay, and See Users to understand how the failure affected your customers.
Note that network conditions can have a significant impact on whether some error occur or not, due to bad internet connection or poor device performance. In this case, no fixes on your side.
For example:
- A 500 error affecting a small number of sessions may be less urgent than a 400 error blocking checkout for many users.
- A repeated request failure may have a higher Error count but a lower number of impacted sessions.
- An API error on a high-value page may have greater business impact than the same error on a low-traffic page.
Share the finding safely
- Confirm the endpoint, status code, method, affected page or screen, and date range.
- Confirm that URL masking and encryption protect personal data.
- Copy the available Error details.
- Add a Session Replay or Impact link when appropriate.
- Create a Jira issue when an engineering team needs to act.
- Share the finding only with recipients who have the required access.