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
I wanted to proceed with my little app but im stuck with the following error
Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://sandbox.public.api.bunq.com/v1/device-server` resulted in a `400 Bad Request` response: {"Error":[{"error_description":"User credentials are incorrect. Incorrect API key or IP address.","error_description_tra (truncated...) in /vagrant/bunq-insights/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 111
Before rerunning the code, including the registerInstallationAndDeviceServer() method. I regenerated a public and private key pair. The bunq documentation says that the device and installation are ip-address bound but I'm getting the idea that once you've registered an installation/device to an api key you can no longer use this api key on a different ip-address.
Could you help me getting some more understanding of this issue
The text was updated successfully, but these errors were encountered:
Hmm, I haven't seen this behaviour myself as far as I can remember. Have you tried asking this on the bunq Together platform? I think people from bunq may be better help on explaining these issues.
Would love to add it to the documentation when these constraints are clear.
Which environment are you using?
@dstollie a mistake I made when moving from sandbox to production, is not changing the Environment from Sandbox to Production. This way the client keeps communicating with the sandbox at https://sandbox.public.api.bunq.com, which does not 'know' the production API-key, resulting in the same error message.
I wanted to proceed with my little app but im stuck with the following error
Before rerunning the code, including the
registerInstallationAndDeviceServer()
method. I regenerated a public and private key pair. The bunq documentation says that the device and installation are ip-address bound but I'm getting the idea that once you've registered an installation/device to an api key you can no longer use this api key on a different ip-address.Could you help me getting some more understanding of this issue
The text was updated successfully, but these errors were encountered: