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

"HTTP Response Code: 400 The request signature is invalid." #87

Closed
sanneterpstra opened this issue Dec 24, 2017 · 4 comments
Closed

"HTTP Response Code: 400 The request signature is invalid." #87

sanneterpstra opened this issue Dec 24, 2017 · 4 comments
Assignees
Labels
Milestone

Comments

@sanneterpstra
Copy link

I'm trying to integrate the Bunq API in my Laravel project. The installation is flawless, however when I try to create a request I get an error "HTTP Response Code: 400. The request signature is invalid."

Has this something to do with the fact that I'm using Laravel Valet on my computer?

Steps to reproduce:

  1. Install SDK into laravel project

What should happen:

  1. Create apiContext and get users

What happens:

  1. apiContext gets created but the request fails with the following error:
    HTTP Response Code: 400. The request signature is invalid.
@OGKevin OGKevin self-assigned this Dec 24, 2017
@OGKevin OGKevin added this to the 0.12.5 milestone Dec 24, 2017
@OGKevin
Copy link
Contributor

OGKevin commented Dec 24, 2017

Hey @sanneterpstra,

Thanks for reporting this issue!

What version of the SDK are you using, is it 0.12.4?

If so i might also be related to: #75

Could you see if this issue persists on 0.12.3

@sanneterpstra
Copy link
Author

Hi @OGKevin

Yes I was using 0.12.4, it still persists in 0.12.3. Here is a little screenshot

I'm using the newest version of Laravel Valet.

@OGKevin
Copy link
Contributor

OGKevin commented Dec 24, 2017

@sanneterpstra Hmmm I have a project running on Laravel Valet 2.0.5 and a request to user works as intended. So I think we're hitting a weird corner case here 😅

Could you reproduce this error on the sandbox and send me the value of the X-Bunq-Server-Response-Id header. You can var dump the raw response of the request to the user endpoint.

@sanneterpstra
Copy link
Author

@OGKevin I solved the problem. An older version (5.4) of Laravel caused the error. Updating to Laravel 5.5 solved it. Thanks for your quick replies!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants