Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kamaulynder/8f9d9761e44ae0bfc7d0b928d9b55a5b to your computer and use it in GitHub Desktop.
Save kamaulynder/8f9d9761e44ae0bfc7d0b928d9b55a5b to your computer and use it in GitHub Desktop.
[2017-03-02 20:06:02] production.ERROR: exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: `GET https://api.africastalking.com/version1/messaging?username=ushahidi&lastReceivedId=4294967295` resulted in a `400 Bad Request` response:
The query parameter 'lastReceivedId' was malformed:
'4294967295' is not a valid 32-bit signed integer value
' in /var/www/rollcall/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111
Stack trace:
#0 /var/www/rollcall/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 /var/www/rollcall/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /var/www/rollcall/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array)
#3 /var/www/rollcall/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 /var/www/rollcall/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\TaskQueue->run(true)
#5 /var/www/rollcall/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 /var/www/rollcall/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#7 /var/www/rollcall/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 /var/www/rollcall/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 /var/www/rollcall/vendor/guzzlehttp/guzzle/src/Client.php(129): GuzzleHttp\Promise\Promise->wait()
#10 /var/www/rollcall/app/Messaging/Drivers/AfricasTalking.php(86): GuzzleHttp\Client->request('GET', 'https://api.afr...', Array)
#11 /var/www/rollcall/vendor/simplesoftwareio/simple-sms/src/SMS.php(266): RollCall\Messaging\Drivers\AfricasTalking->checkMessages(Array)
#12 /var/www/rollcall/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(237): SimpleSoftwareIO\SMS\SMS->checkMessages(Array)
#13 /var/www/rollcall/app/Messaging/SMSService.php(89): Illuminate\Support\Facades\Facade::__callStatic('checkMessages', Array)
#14 /var/www/rollcall/app/Messaging/SMSService.php(89): RollCall\Messaging\Facades\SMS::checkMessages(Array)
#15 /var/www/rollcall/app/Console/Commands/ReceiveSMS.php(64): RollCall\Messaging\SMSService->getMessages(Array)
#16 [internal function]: RollCall\Console\Commands\ReceiveSMS->handle()
#17 /var/www/rollcall/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)
#18 /var/www/rollcall/vendor/laravel/framework/src/Illuminate/Console/Command.php(169): Illuminate\Container\Container->call(Array)
#19 /var/www/rollcall/vendor/symfony/console/Command/Command.php(254): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/rollcall/vendor/laravel/framework/src/Illuminate/Console/Command.php(155): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /var/www/rollcall/vendor/symfony/console/Application.php(821): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /var/www/rollcall/vendor/symfony/console/Application.php(187): Symfony\Component\Console\Application->doRunCommand(Object(RollCall\Console\Commands\ReceiveSMS), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /var/www/rollcall/vendor/symfony/console/Application.php(118): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /var/www/rollcall/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /var/www/rollcall/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#26 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment