Skip to content

Fatal error when using tinker/user-overview.php #47

@setpill

Description

@setpill

Reproduce steps:

$ bash <(curl -s https://tinker.bunq.com/php/setup.sh)
[Output omitted]
$ tinker/user-overview.php

Expected outcome:

A new sandbox account is created and an overview is shown.

Actual outcome:

  ████████╗██╗███╗   ██╗██╗  ██╗███████╗██████╗ ██╗███╗   ██╗ ██████╗ 
  ╚══██╔══╝██║████╗  ██║██║ ██╔╝██╔════╝██╔══██╗██║████╗  ██║██╔════╝ 
     ██║   ██║██╔██╗ ██║█████╔╝ █████╗  ██████╔╝██║██╔██╗ ██║██║  ███╗
     ██║   ██║██║╚██╗██║██╔═██╗ ██╔══╝  ██╔══██╗██║██║╚██╗██║██║   ██║
     ██║   ██║██║ ╚████║██║  ██╗███████╗██║  ██║██║██║ ╚████║╚██████╔╝
     ╚═╝   ╚═╝╚═╝  ╚═══╝╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝ 
PHP Fatal error:  Uncaught bunq\Exception\NotFoundException: HTTP Response Code: 404
The response id to help bunq debug: 9395f5a3-bf74-4507-b74a-e8fad476200d
Error message: Route not found. in $PWD/vendor/bunq/sdk_php/src/Exception/ExceptionFactory.php:58
Stack trace:
#0 $PWD/vendor/bunq/sdk_php/src/Http/Handler/ResponseHandlerError.php(54): bunq\Exception\ExceptionFactory::createExceptionForResponse()
#1 $PWD/vendor/bunq/sdk_php/src/Http/Handler/HandlerUtil.php(42): bunq\Http\Handler\ResponseHandlerError->execute()
#2 $PWD/vendor/guzzlehttp/promises/src/FulfilledPromise.php(39): bunq\Http\Handler\HandlerUtil::bunq\Http\Handler\{closure}()
#3 $PWD/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\FulfilledPromise::GuzzleHttp\Promise\{closure}()
#4 $PWD/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\TaskQueue->run()
#5 $PWD/vendor in $PWD/vendor/bunq/sdk_php/src/Exception/ExceptionFactory.php on line 58

System info:

$ uname -r
5.9.6-arch1-1
$ php --version
PHP 7.4.12 (cli) (built: Oct 29 2020 18:50:11) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions