Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add response id to error messages from failed requests  #63

Closed
OGKevin opened this issue Dec 24, 2017 · 2 comments
Closed

Add response id to error messages from failed requests  #63

OGKevin opened this issue Dec 24, 2017 · 2 comments
Assignees
Milestone

Comments

@OGKevin
Copy link
Contributor

OGKevin commented Dec 24, 2017

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 OGKevin added this to the 0.12.5 milestone Dec 24, 2017
@OGKevin OGKevin self-assigned this Dec 24, 2017
@kid-cavaquinho
Copy link

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

@OGKevin
Copy link
Contributor Author

OGKevin commented Dec 28, 2017

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

OGKevin added a commit that referenced this issue Dec 30, 2017
OGKevin added a commit that referenced this issue Dec 31, 2017
OGKevin added a commit that referenced this issue Jan 2, 2018
OGKevin added a commit that referenced this issue Jan 2, 2018
OGKevin added a commit that referenced this issue Jan 2, 2018
OGKevin added a commit that referenced this issue Jan 2, 2018
OGKevin added a commit that referenced this issue Jan 2, 2018
OGKevin added a commit that referenced this issue Jan 2, 2018
OGKevin added a commit that referenced this issue Jan 2, 2018
OGKevin added a commit that referenced this issue Jan 2, 2018
OGKevin added a commit that referenced this issue Jan 2, 2018
OGKevin added a commit that referenced this issue Jan 2, 2018
OGKevin added a commit that referenced this issue Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants