IMPACT EXECUTIVE DASHBOARD - UPSTREAM HTTP DIAGNOSTICS ====================================================== Problem being diagnosed: Postman succeeds, but the PHP dashboard receives HTTP 500 / non-JSON. How to capture the problem: 1. Open sync_settings.php. 2. Confirm the same Base URL, endpoint, Bearer token and date range used in Postman. 3. Click "Test Payments" or "Test Claims". 4. Scroll to "HTTP Diagnostics". 5. Open the newest Diagnostic ID. 6. Compare these values with Postman: - Request URL - Request JSON body - Request headers (Bearer is masked) - HTTP response headers - HTTP response body - cURL errno/error - primary_ip / primary_port - local_ip / local_port - http_version / protocol - total_time / connect_time / starttransfer_time - PHP and cURL versions - Verbose cURL trace File log: logs/upstream_api_debug.log Database log: api_sync_http_diagnostics Security: The Bearer token is masked before logging. If the diagnostics table cannot be created automatically, import: upgrade_http_diagnostics.sql