Skip to content

Error Categories

Pingward classifies test failures into categories to help you understand and respond to issues.

Category List

Connection Errors

CategoryDescriptionCommon Causes
TimeoutRequest exceeded timeout limitSlow server, network issues, server overload
ConnectionRefusedServer rejected the connectionServer down, wrong port, firewall
DnsResolutionFailedCould not resolve hostnameDNS misconfiguration, domain expired
SslCertificateErrorTLS/SSL handshake failedExpired certificate, invalid cert, hostname mismatch
ConnectionResetConnection was resetServer crash, network interruption
RedirectLoopToo many redirectsMisconfigured redirects

HTTP Errors

CategoryDescriptionHTTP Codes
ServiceUnavailableServer cannot handle request502, 503, 504
ServerErrorServer-side error500, 501, other 5xx
BadRequestClient error in request400
AuthenticationFailedAuthentication required/failed401
ForbiddenAccess denied403
NotFoundResource not found404
RateLimitedToo many requests429
ClientErrorOther client errorsOther 4xx

Validation Errors

CategoryDescription
AssertionFailedResponse didn't match assertions
ContentMismatchResponse content unexpected
BodyTooLargeResponse exceeded size limit

Other

CategoryDescription
UnknownUnclassified error

Default Severities

Each category has a default severity that reflects its typical impact:

Critical (Immediate Action)

  • ServiceUnavailable
  • Timeout
  • ConnectionRefused
  • DnsResolutionFailed

High (Urgent)

  • SslCertificateError
  • ServerError
  • ConnectionReset
  • RedirectLoop

Medium (Important)

  • AssertionFailed
  • AuthenticationFailed
  • Forbidden
  • RateLimited
  • ContentMismatch

Low (Minor)

  • BadRequest
  • NotFound
  • ClientError
  • BodyTooLarge
  • Unknown

Customizing Severity

You can change the severity for any category in Settings → Severity.

Common customizations:

  • NotFound → Critical: For critical resources that must exist
  • Timeout → Medium: For known-slow APIs
  • AssertionFailed → High: For critical validation checks

Using Categories in Routing

Route alerts based on error category:

Conditions:
  Error Categories: Timeout, ConnectionRefused, ServiceUnavailable

Actions:
  → PagerDuty (Infrastructure Team)
Conditions:
  Error Categories: AssertionFailed, ContentMismatch

Actions:
  → Slack #api-team

Troubleshooting by Category

Timeout

  • Check server response times
  • Look for resource exhaustion
  • Check network path
  • Consider increasing timeout threshold

ConnectionRefused

  • Verify server is running
  • Check correct port
  • Review firewall rules
  • Check security groups

DnsResolutionFailed

  • Verify domain name is correct
  • Check DNS propagation
  • Review DNS server configuration
  • Check for domain expiration

SslCertificateError

  • Check certificate expiration
  • Verify certificate chain
  • Ensure hostname matches
  • Update root certificates

ServiceUnavailable

  • Check upstream dependencies
  • Review server capacity
  • Look for deployment issues
  • Check load balancer health

Pingward - API Monitoring Made Simple