You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pass a custom header to override the default one, e.g. client-request-id:
Payment.create(
new Amount("123", "EUR"),
new Pointer("IBAN", "mockiban"),
"description",
123,
null,
null,
false,
Map(
BunqHeader.CLIENT_REQUEST_ID.toString -> "123"
).toJava)
What should happen:
The specified request header gets passed to the server, and the server recognises the Client Request ID.
What happens:
The server doesnt recognise the passed client request ID, and doesnt deduplicate the requests. Upon further investigation, I found out that the new header value gets appended to the header key, instead of replacing it.
Steps to reproduce:
What should happen:
What happens:
Traceback
SDK version and environment
Response id
Extra info:
The text was updated successfully, but these errors were encountered: