Exception Object
(
    [message:protected] => invalid_client
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/begahub/branches/tg/src/Classes/AmazonApiConnection.php
    [line:protected] => 293
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/begahub/branches/tg/src/Classes/AmazonApiConnection.php
                    [line] => 213
                    [function] => getNewAccessToken
                    [class] => Classes\AmazonApiConnection
                    [type] => ::
                )

            [1] => Array
                (
                    [file] => /var/www/begahub/branches/tg/src/Classes/AmazonApiConnection.php
                    [line] => 105
                    [function] => getAccessToken
                    [class] => Classes\AmazonApiConnection
                    [type] => ::
                )

            [2] => Array
                (
                    [file] => /var/www/begahub/branches/tg/batch/test.php
                    [line] => 81
                    [function] => setConnection
                    [class] => Classes\AmazonApiConnection
                    [type] => ::
                )

        )

    [previous:Exception:private] => 
)
Exception Object
(
    [message:protected] => No token data received
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/begahub/branches/tg/src/Classes/AmazonApiConnection.php
    [line:protected] => 233
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/begahub/branches/tg/src/Classes/AmazonApiConnection.php
                    [line] => 105
                    [function] => getAccessToken
                    [class] => Classes\AmazonApiConnection
                    [type] => ::
                )

            [1] => Array
                (
                    [file] => /var/www/begahub/branches/tg/batch/test.php
                    [line] => 81
                    [function] => setConnection
                    [class] => Classes\AmazonApiConnection
                    [type] => ::
                )

        )

    [previous:Exception:private] => 
)

Fatal error: Uncaught Exception: Connection failed! in /var/www/begahub/branches/tg/batch/test.php:84 Stack trace: #0 {main} thrown in /var/www/begahub/branches/tg/batch/test.php on line 84