jdavidbakr / mail-tracker

Package for Laravel to inject tracking code into outgoing emails.
MIT License
562 stars 129 forks source link

Invalid POST data - Laravel Octane #234

Closed UtkuDalmaz closed 10 months ago

UtkuDalmaz commented 10 months ago

After I started using Laravel Octane, I have been received a lot of those exceptions.

Message
Invalid POST data.
Level
ERROR
Exception
{
    "class": "RuntimeException",
    "message": "Invalid POST data.",
    "code": 0,
    "file": "/var/www/site/public_html/vendor/aws/aws-php-sns-message-validator/src/Message.php:68",
    "trace": [
        "/var/www/site/public_html/vendor/aws/aws-php-sns-message-validator/src/Message.php:44",
        "/var/www/site/public_html/vendor/jdavidbakr/mail-tracker/src/SNSController.php:29",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:259",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:799",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php:159",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php:125",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php:87",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180",
        "/var/www/site/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116",

However I am not sure if it is caused by /jdavidbakr/mail-tracker/src/SNSController.php:29 or aws-php-sns-message-validator

Could you please help me with this?

Thanks