Skip to content
Edit this page View source of this page

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).

  • GET responses are served from the cache when the provider marked them cacheable.
  • POST responses — 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_cache is therefore False for conversions.
  • Use --force to 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