http://sandbox.crmgarbal.com/webhook/garbal/messagerie

ErrorController

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"2fdd9a"
exception
TypeError {#726
  #message: "App\Entity\Message::addImage(): Argument #1 ($image) must be of type string, null given, called in /var/www/crm_garbal/src/Controller/MessageController.php on line 314"
  #code: 0
  #file: "/var/www/crm_garbal/src/Entity/Message.php"
  #line: 155
  trace: {
    /var/www/crm_garbal/src/Entity/Message.php:155 {
      App\Entity\Message->addImage(string $image): self …
      › 
      ›     public function addImage(string $image): self{
    }
    /var/www/crm_garbal/src/Controller/MessageController.php:314 {
      App\Controller\MessageController->messageriewebhook(Request $request, ConversationRepository $ConversationRepository, StatutConversationRepository $StatutConversationRepository, CanalRepository $CanalRepository, ClientRepository $ClientRepository, TypeMessageRepository $TypeMessageRepository, EntityManagerInterface $entityManager, HttpClientInterface $httpClient): Response …
      › 
      › $message->addImage($stickerPath);$message->setIdTypeMessage($TypeMessageRepository->findOneBy(['id'=>7]));
      arguments: {
        $image: null
      }
    }
    /var/www/crm_garbal/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $ConversationRepository: App\Repository\ConversationRepository {#509 …}
        $StatutConversationRepository: App\Repository\StatutConversationRepository {#529 …}
        $CanalRepository: App\Repository\CanalRepository {#545 …}
        $ClientRepository: App\Repository\ClientRepository {#561 …}
        $TypeMessageRepository: App\Repository\TypeMessageRepository {#580 …}
        $entityManager: ContainerFe4Dkyx\EntityManager_9a5be93 {#46 …}
        $httpClient: Symfony\Component\HttpClient\TraceableHttpClient {#322 …}
      }
    }
    /var/www/crm_garbal/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $type: 1
      }
    }
    /var/www/crm_garbal/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $type: 1
        $catch: true
      }
    }
    /var/www/crm_garbal/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
      }
    }
    /var/www/crm_garbal/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/crm_garbal/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/crm_garbal/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#143 …8}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"deflate, gzip"
authorization
""
connection
"Keep-Alive"
content-length
"775"
content-type
"application/json"
host
"sandbox.crmgarbal.com"
user-agent
"facebookexternalua"
x-forwarded-for
"173.252.127.14"
x-forwarded-host
"sandbox.crmgarbal.com"
x-forwarded-server
"sandbox.crmgarbal.com"
x-hub-signature
"sha1=79cc7531d77d3238265a18b7e5632482e306edb2"
x-hub-signature-256
"sha256=ce3b9a574c10f0d1fbc5274552222ca246882d569687ab748a09b2591d204c35"
x-php-ob-level
"0"

Request Content

Pretty

{
    "object": "whatsapp_business_account",
    "entry": [
        {
            "id": "2319824458485188",
            "changes": [
                {
                    "value": {
                        "messaging_product": "whatsapp",
                        "metadata": {
                            "display_phone_number": "15551878467",
                            "phone_number_id": "1037760686078257"
                        },
                        "contacts": [
                            {
                                "profile": {
                                    "name": "Djafara"
                                },
                                "wa_id": "22792829789"
                            }
                        ],
                        "messages": [
                            {
                                "from": "22792829789",
                                "id": "wamid.HBgLMjI3OTI4Mjk3ODkVAgASGCBBQzEyODJBQ0MzRUJEOTRCQUMxNzM5Q0ZCRkU3NzFCNgA=",
                                "timestamp": "1774134636",
                                "type": "sticker",
                                "sticker": {
                                    "mime_type": "image\/webp",
                                    "sha256": "PuCBVruCaHYOowNYSa3a7L1dMfLHI2Kp6M8jx17MfQg=",
                                    "id": "2472337816556058",
                                    "url": "https:\/\/lookaside.fbsbx.com\/whatsapp_business\/attachments\/?mid=2472337816556058&source=webhook&ext=1774134937&hash=ARnTqt_YG90r_yIDOGTK_nhs86_jBm8UkPlKzYVAty6RjA",
                                    "animated": false
                                }
                            }
                        ]
                    },
                    "field": "messages"
                }
            ]
        }
    ]
}

Raw

{"object":"whatsapp_business_account","entry":[{"id":"2319824458485188","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"15551878467","phone_number_id":"1037760686078257"},"contacts":[{"profile":{"name":"Djafara"},"wa_id":"22792829789"}],"messages":[{"from":"22792829789","id":"wamid.HBgLMjI3OTI4Mjk3ODkVAgASGCBBQzEyODJBQ0MzRUJEOTRCQUMxNzM5Q0ZCRkU3NzFCNgA=","timestamp":"1774134636","type":"sticker","sticker":{"mime_type":"image\/webp","sha256":"PuCBVruCaHYOowNYSa3a7L1dMfLHI2Kp6M8jx17MfQg=","id":"2472337816556058","url":"https:\/\/lookaside.fbsbx.com\/whatsapp_business\/attachments\/?mid=2472337816556058&source=webhook&ext=1774134937&hash=ARnTqt_YG90r_yIDOGTK_nhs86_jBm8UkPlKzYVAty6RjA","animated":false}}]},"field":"messages"}]}]}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 21 Mar 2026 23:16:55 GMT"
x-debug-exception
"App%5CEntity%5CMessage%3A%3AaddImage%28%29%3A%20Argument%20%231%20%28%24image%29%20must%20be%20of%20type%20string%2C%20null%20given%2C%20called%20in%20%2Fvar%2Fwww%2Fcrm_garbal%2Fsrc%2FController%2FMessageController.php%20on%20line%20314"
x-debug-exception-file
"%2Fvar%2Fwww%2Fcrm_garbal%2Fsrc%2FEntity%2FMessage.php:155"
x-debug-token
"d1dc4b"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/security-http/Firewall/AccessListener.php"
    "line" => 87
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 49
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 26
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 70
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/security-http/Firewall.php"
    "line" => 92
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 117
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/vendor/autoload_runtime.php"
    "line" => 35
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/crm_garbal/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/crm_garbal/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"c1df5a0affa0cbe0cc953f5338785f29"
APP_TIMEZONE
"Africa/Niamey"
DATABASE_URL
"mysql://root:mp_mgarler85_47@dbgarbal:3306/crm_garbal?serverVersion=8&charset=utf8mb4"
JWT_PASSPHRASE
"08f892c7852e08259dc8f79e038675d4cd611fe806115c3a1d5d2f7eada1e5f0"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
LOCK_DSN
"flock"
MAILER_DSN
"smtp://:@smtprelay.airtel.africa:25?encryption=tls&auth_mode=login"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
WHATSAPP_TOKEN
"EAAesTlijMGcBQtdhdKedpB4DqNDFsDVcuBb8Kcx3zETgu8pMjX67hpliaoL2wAHjgZAJZAo0rPblwFesxiJXqm19ZC5mjQdixA5oYqjpoVYnbq97dqOMnNR8qoT2QqIcaraJDLHdZBd52UTEcxj8qTRT82iqy0GyOltkXdZBtBgrKUc3f1TpHRXHQOZBw3gt7kewZDZD"

Defined as regular env variables

Key Value
APACHE_CONFDIR
"/etc/apache2"
APACHE_ENVVARS
"/etc/apache2/envvars"
APACHE_LOCK_DIR
"/var/lock/apache2"
APACHE_LOG_DIR
"/var/log/apache2"
APACHE_PID_FILE
"/var/run/apache2/apache2.pid"
APACHE_RUN_DIR
"/var/run/apache2"
APACHE_RUN_GROUP
"www-data"
APACHE_RUN_USER
"www-data"
APP_DEBUG
"1"
CONTENT_LENGTH
"775"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/crm_garbal/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/crm_garbal/public"
GATEWAY_INTERFACE
"CGI/1.1"
GPG_KEYS
"39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC"
HOSTNAME
"7f859031ff01"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"deflate, gzip"
HTTP_AUTHORIZATION
""
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"sandbox.crmgarbal.com"
HTTP_USER_AGENT
"facebookexternalua"
HTTP_X_FORWARDED_FOR
"173.252.127.14"
HTTP_X_FORWARDED_HOST
"sandbox.crmgarbal.com"
HTTP_X_FORWARDED_SERVER
"sandbox.crmgarbal.com"
HTTP_X_HUB_SIGNATURE
"sha1=79cc7531d77d3238265a18b7e5632482e306edb2"
HTTP_X_HUB_SIGNATURE_256
"sha256=ce3b9a574c10f0d1fbc5274552222ca246882d569687ab748a09b2591d204c35"
LANG
"C"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.2.29.tar.xz.asc"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_INI_DIR
"/usr/local/etc/php"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_SELF
"/index.php"
PHP_SHA256
"475f991afd2d5b901fb410be407d929bc00c46285d3f439a02c59e8b6fe3589c"
PHP_URL
"https://www.php.net/distributions/php-8.2.29.tar.xz"
PHP_VERSION
"8.2.29"
PWD
"/var/www"
QUERY_STRING
""
REMOTE_ADDR
"168.231.113.5"
REMOTE_PORT
"57266"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1774135014
REQUEST_TIME_FLOAT
1774135014.9217
REQUEST_URI
"/webhook/garbal/messagerie"
SCRIPT_FILENAME
"/var/www/crm_garbal/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.19.0.4"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"sandbox.crmgarbal.com"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.65 (Debian) Server at sandbox.crmgarbal.com Port 80</address>\n"
SERVER_SOFTWARE
"Apache/2.4.65 (Debian)"
SHLVL
"0"
SYMFONY_DOTENV_VARS
"WHATSAPP_TOKEN,APP_TIMEZONE,APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,MAILER_DSN,LOCK_DSN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE"
argc
0
argv
[]

Parent Request

Return to parent request (token = d85c5a)

Key Value
_controller
"App\Controller\MessageController::messageriewebhook"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"app_webhook_garbal_messagerie"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"b79595"