bunq/sdk_csharp

Add response id to error messages from failed requests 

Closed this issue · 2 comments

Steps to reproduce:

  1. Make a bad request
  2. Try and get the response id from the X-Bunq-Server-Response-Id header.

What should happen:

  1. There is a way to get the response id to debug this error on bunq's side if needed.

What happens:

  1. 👆 is not possible.

Logs

  • Logs 'no logs

Extra info:

References

@OGKevin the X-Bunq-Server-Response-Id header is always present in every request, correct? Should it only be returned with 400 messages?

@AnTao it is indeed present with each request!

Please see how its implemented in php: bunq/sdk_php#93 or by viewing the referenced issue 👍 So you have an idea on how it should be done.