Troubleshooting
Troubleshooting¶
Common Issues¶
Authentication Failed¶
- Error:
AuthenticationError - Solution: Verify API keys and environment variables.
No Providers Available¶
- Error:
NoProviderConfiguredError - Solution: Set at least one API key or
PDF_REMOTE_CONVERTER_API_KEY.
All Providers Failed¶
- Error:
AllProvidersFailedError - Solution: Check quotas, credentials, and network connectivity.
Provider Unavailable¶
- Error:
ProviderUnavailableError - Solution: Retry or use a different provider.
HTTP Caching¶
Responses are cached with Hishel in RFC 9111 mode, using a SQLite database under
~/.cache/pdf-remote-converter (override with PDF_REMOTE_CONVERTER_CACHE_DIR).
GETresponses are served from the cache when the provider marked them cacheable.POSTresponses — which is what every conversion uses — are written through to the origin and are never served from the cache, because RFC 9111 requires unsafe methods to reach the origin.ConversionResult.from_cacheis thereforeFalsefor conversions.- Use
--forceto bypass the cache entirely for one run.
Logs¶
Enable verbose logging to debug issues:
uv run pdf-remote-converter convert input.docx output.pdf --verbose
Related¶
- Configuration - Verify environment variables.
- Supported Providers - Provider-specific limitations.
- CLI Reference - Command-line options for debugging.