http://sandbox.crmgarbal.com/message/communication

MessageController :: MessageCommunication

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

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

Request Content

Pretty

{
    "object": "whatsapp_business_account",
    "entry": [
        {
            "id": "1921283458804740",
            "changes": [
                {
                    "value": {
                        "messaging_product": "whatsapp",
                        "metadata": {
                            "display_phone_number": "15556371848",
                            "phone_number_id": "870067449513702"
                        },
                        "statuses": [
                            {
                                "id": "wamid.HBgLMjI3OTI4Mjk3ODkVAgARGBIyRDVEOEQzODI5ODdDOENCQkUA",
                                "status": "sent",
                                "timestamp": "1764460360",
                                "recipient_id": "22792829789",
                                "pricing": {
                                    "billable": false,
                                    "pricing_model": "PMP",
                                    "category": "service",
                                    "type": "free_customer_service"
                                }
                            }
                        ]
                    },
                    "field": "messages"
                }
            ]
        }
    ]
}

Raw

{"object":"whatsapp_business_account","entry":[{"id":"1921283458804740","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"15556371848","phone_number_id":"870067449513702"},"statuses":[{"id":"wamid.HBgLMjI3OTI4Mjk3ODkVAgARGBIyRDVEOEQzODI5ODdDOENCQkUA","status":"sent","timestamp":"1764460360","recipient_id":"22792829789","pricing":{"billable":false,"pricing_model":"PMP","category":"service","type":"free_customer_service"}}]},"field":"messages"}]}]}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 06 Dec 2025 05:51:03 GMT"
x-debug-exception
"Warning%3A%20Undefined%20array%20key%20%22messages%22"
x-debug-exception-file
"%2Fvar%2Fwww%2Fcrm_garbal%2Fsrc%2FController%2FMessageController.php:73"
x-debug-token
"12652e"
x-debug-token-link
"http://sandbox.crmgarbal.com/_profiler/0d8f02"
x-previous-debug-token
"0d8f02"
x-robots-tag
"noindex"

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"

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
"488"
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.95.8"
HTTP_X_FORWARDED_HOST
"sandbox.crmgarbal.com"
HTTP_X_FORWARDED_SERVER
"sandbox.crmgarbal.com"
HTTP_X_HUB_SIGNATURE
"sha1=a3d6c59e14ea1d5235f45138666a2bb53a1cdde5"
HTTP_X_HUB_SIGNATURE_256
"sha256=c4c84847c14c43f81be43c42603e3e4a39cee71ca2dc584771452471cd1fade1"
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
"56056"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1765000263
REQUEST_TIME_FLOAT
1765000263.0343
REQUEST_URI
"/message/communication"
SCRIPT_FILENAME
"/var/www/crm_garbal/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.19.0.2"
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
"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
[]

Sub Requests 1

ErrorController (token = 0d8f02)

Key Value
_controller
"error_controller"
_stopwatch_token
"7be7b5"
exception
ErrorException {#570
  #message: "Warning: Undefined array key "messages""
  #code: 0
  #file: "/var/www/crm_garbal/src/Controller/MessageController.php"
  #line: 73
  #severity: E_WARNING
  trace: {
    /var/www/crm_garbal/src/Controller/MessageController.php:73 {
      App\Controller\MessageController->MessageCommunication(Request $request, SessionRepository $SessionRepository, ClientRepository $ClientRepository, EntityManagerInterface $entityManager): Response …
      › 
      › $messages = $data['entry'][0]['changes'][0]['value']['messages'][0];$name = $data['entry'][0]['changes'][0]['value']['contacts'][0]['profile']['name'];
    }
    /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 …}
        $SessionRepository: App\Repository\SessionRepository {#505 …}
        $ClientRepository: App\Repository\ClientRepository {#522 …}
        $entityManager: ContainerYMJknP2\EntityManager_9a5be93 {#268 …}
      }
    }
    /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 {#138 …8}