Troubleshooting
| Symptom | Check |
|---|---|
`apiBaseEnvConfig` is required | Pass config into createSumxHttpClient |
`defaultApiBase` is not defined | Key must exist in apiBaseEnvConfig |
[http-client] Missing base URL for "…" | Env empty; check .env and getEnvValue |
| 401 loop | BFF cookies; x-skip-auth-redirect on auth probes |
| Wrong upstream | apiBase argument or x-api-base header |
Type error on defaultApiBase in config | Rebuild @sumx/http-client and pnpm install; optional fields are in SumxHttpClientConfig |
See also Portal integration and API bases & env.