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

Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 1197 #114

Open
celorodovalho opened this issue Feb 1, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@celorodovalho
Copy link
Owner

Message:

Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 1197

File/Line:

/home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/irazasyed/telegram-bot-sdk/src/Exceptions/TelegramResponseException.php::67

Code:

400

Trace:

#0 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/irazasyed/telegram-bot-sdk/src/TelegramResponse.php(100): Telegram\Bot\Exceptions\TelegramResponseException::create(Object(Telegram\Bot\TelegramResponse))
#1 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/irazasyed/telegram-bot-sdk/src/TelegramResponse.php(81): Telegram\Bot\TelegramResponse->makeException()
#2 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/irazasyed/telegram-bot-sdk/src/TelegramResponse.php(51): Telegram\Bot\TelegramResponse->decodeBody()
#3 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/irazasyed/telegram-bot-sdk/src/TelegramClient.php(130): Telegram\Bot\TelegramResponse->__construct(Object(Telegram\Bot\TelegramRequest), Object(GuzzleHttp\Psr7\Response))
#4 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/irazasyed/telegram-bot-sdk/src/TelegramClient.php(82): Telegram\Bot\TelegramClient->getResponse(Object(Telegram\Bot\TelegramRequest), Object(GuzzleHttp\Psr7\Response))
#5 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/irazasyed/telegram-bot-sdk/src/Traits/Http.php(304): Telegram\Bot\TelegramClient->sendRequest(Object(Telegram\Bot\TelegramRequest))
#6 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/irazasyed/telegram-bot-sdk/src/Traits/Http.php(197): Telegram\Bot\Api->sendRequest('POST', 'sendMessage', Array)
#7 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/irazasyed/telegram-bot-sdk/src/Methods/Message.php(49): Telegram\Bot\Api->post('sendMessage', Array)
#8 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/app/Notifications/Channels/TelegramChannel.php(83): Telegram\Bot\Api->sendMessage(Array)
#9 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(144): App\Notifications\Channels\TelegramChannel->send(Object(App\Models\Group), Object(App\Notifications\SendOpportunity))
#10 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(103): Illuminate\Notifications\NotificationSender->sendToNotifiable(Object(App\Models\Group), '618fc76f-67a2-4...', Object(App\Notifications\SendOpportunity), 'App\\Notificatio...')
#11 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Support/Traits/Localizable.php(19): Illuminate\Notifications\NotificationSender->Illuminate\Notifications\{closure}()
#12 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(105): Illuminate\Notifications\NotificationSender->withLocale(NULL, Object(Closure))
#13 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(77): Illuminate\Notifications\NotificationSender->sendNow(Object(Illuminate\Database\Eloquent\Collection), Object(App\Notifications\SendOpportunity))
#14 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Notifications/ChannelManager.php(39): Illuminate\Notifications\NotificationSender->send(Object(Illuminate\Database\Eloquent\Collection), Object(App\Notifications\SendOpportunity))
#15 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/app/Traits/RoutesNotifications.php(25): Illuminate\Notifications\ChannelManager->send(Object(App\Models\Group), Object(App\Notifications\SendOpportunity))
#16 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/app/Console/Commands/BotPopulateChannel.php(279): App\Models\Group->notify(Object(App\Notifications\SendOpportunity))
#17 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/app/Console/Commands/BotPopulateChannel.php(120): App\Console\Commands\BotPopulateChannel->sendOpportunityToApproval(Object(App\Models\Opportunity))
#18 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/app/Console/Commands/BotPopulateChannel.php(96): App\Console\Commands\BotPopulateChannel->processOpportunities()
#19 [internal function]: App\Console\Commands\BotPopulateChannel->handle()
#20 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(32): call_user_func_array(Array, Array)
#21 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(90): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#22 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(34): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#23 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Container/Container.php(576): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#24 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\Container\Container->call(Array)
#25 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#26 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#27 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/symfony/console/Application.php(1011): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#28 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/symfony/console/Application.php(272): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\BotPopulateChannel), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#29 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#30 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Console/Application.php(90): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#31 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(133): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#32 /home/marce769/public_html/projects/marcelorodovalho.com.br/dsv/workspace/phpdfbot/artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#33 {main}

Log:

https://dev.marcelorodovalho.com/workspace/phpdfbot/storage/app/logs/1580569305.log
@celorodovalho celorodovalho added the bug Something isn't working label Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant