Troubleshoot

Navigate through our API troubleshooting information to efficiently address and resolve issues you encounter.

Use this table as a first-stop navigation aid. It points to likely starting resources, not definitive root causes.

SymptomStart HereNext Check
504 Gateway TimeoutTroubleshoot Request TimeoutsTimeouts and Limits, Code Profiler
429 Too Many RequestsThrottle RatesError Response Codes
401/403 authorization errorsAuthorizationAuthorization Scopes, SLAS
400 request validation errorsError Response CodesCommerce API references
500/internal errorsSCAPI Logs and Request TrackingCode Profiler
Unexpected response behaviorResponse HandlingCommerce API references

The B2C Commerce APIs provide capabilities to help you:

When you encounter an API issue, follow these steps:

Every SCAPI response includes a correlationID header. Use this to track and investigate request details.

  • Review the HTTP status code and response body
  • Look for error messages and error details in the response
  • See Error Response Codes for common status codes

Use Log Center in Business Manager to:

If performance is an issue:

  • Use Code Profiler to identify bottlenecks
  • Check Reports & Dashboards for average response times
  • Review cache hit rates and optimization opportunities
  • Confirm authentication and authorization setup
  • Check site preferences and locale settings
  • Verify custom code and hooks aren’t causing issues
  • Reproduce the issue in a test environment
  • Isolate the problem by simplifying the request
  • Use Postman or API testing tools to verify API behavior