Troubleshooting guide
This section provides guidance for diagnosing and resolving common issues when working with the Pentaho Data Catalog (PDC) API. Use it as a quick reference when requests fail or when you encounter unexpected responses.
Authentication issues
401 Unauthorized
403 Forbidden
Endpoint and base URL issues
Wrong base URL in "Try it" panel
404 Not Found
Request and payload issues
400 Bad Request
415 Unsupported Media Type
Service availability issues
500 Internal Server Error
503 Service Unavailable
CORS and browser issues
CORS error in Swagger UI or browser
Best practices for troubleshooting
Follow these best practices to diagnose and resolve issues efficiently when working with the PDC API:
Log critical details Capture the endpoint path, HTTP method, status code,
requestId, and the full error body for every failing request. These details are essential for debugging and for escalation to support teams.Use the Errors catalog Refer to the Errors page to interpret error codes and messages. The catalog explains common causes and provides guidance for corrective action.
Validate with
curlor Postman Reproduce the request outside of GitBook’s “Try it” panel to rule out browser extensions, CORS restrictions, or GitBook UI quirks. This ensures you are testing against the raw API.Implement retries for transient errors Add retry logic for temporary failures such as
500 Internal Server Errorand503 Service Unavailable. Use exponential backoff with jitter to avoid overwhelming the server.Escalate with context If errors persist after validating your request, contact your PDC administrator or support team. Provide logs with timestamps, request IDs, and sample payloads so the issue can be diagnosed quickly.
Last updated
Was this helpful?

