Skip to content

Document selecting API error language - #13

Closed
javorosas wants to merge 1 commit into
mainfrom
docs/api-error-language
Closed

Document selecting API error language#13
javorosas wants to merge 1 commit into
mainfrom
docs/api-error-language

Conversation

@javorosas

Copy link
Copy Markdown
Member

Documents how to request English API V2 errors with an interceptor on an injected OkHttpClient. The bilingual examples retain timeout configuration and explain fallback, stable codes, external messages, local SDK errors, and instance-level configuration.

The existing HTTP client test now verifies that a real OkHttp interceptor sends Accept-Language: en-US alongside SDK authentication. This also corrects the existing custom-client README example to use the public FacturapiConfig API.

Related server change: https://github.com/FacturAPI/facturapi/pull/2259

Validation: Maven tests passed: 28 tests, no failures or errors.

@javorosas

Copy link
Copy Markdown
Member Author

Closing this PR because the SDK already supports custom request headers. The Accept-Language usage will be documented centrally in facturapi-docs.

@javorosas javorosas closed this Sep 8, 2026
@javorosas
javorosas deleted the docs/api-error-language branch September 8, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant