Error 400 Bad Request

POST http://webhook-food.esn-niger.com/commande/client

EsnWhatsappController :: commandeClient

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\EsnWhatsappController::commandeClient"
_firewall_context
"security.firewall.map.context.main"
_route
"app_esn_whatsapp"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"1650e6"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"deflate, gzip"
authorization
""
connection
"Keep-Alive"
content-length
"720"
content-type
"application/json"
host
"webhook-food.esn-niger.com"
user-agent
"facebookexternalua"
x-forwarded-for
"173.252.127.14"
x-forwarded-host
"webhook-food.esn-niger.com"
x-forwarded-server
"webhook-food.esn-niger.com"
x-hub-signature
"sha1=f0005e896922583d3f04f38a3a852a0c984fa968"
x-hub-signature-256
"sha256=3d49ebb3e241cde5713c2923b1a0272554d0ed502dce744278d8b1d555d31b83"
x-php-ob-level
"0"

Request Content

Pretty

{
    "object": "whatsapp_business_account",
    "entry": [
        {
            "id": "3771418223149908",
            "changes": [
                {
                    "value": {
                        "messaging_product": "whatsapp",
                        "metadata": {
                            "display_phone_number": "22792076767",
                            "phone_number_id": "628049967062357"
                        },
                        "contacts": [
                            {
                                "wa_id": "22796824815",
                                "user_id": "NE.1060631906346881"
                            }
                        ],
                        "statuses": [
                            {
                                "id": "wamid.HBgLMjI3OTY4MjQ4MTUVAgARGBIyRjE2N0Q1MjRFODcyOTNFQzIA",
                                "status": "sent",
                                "timestamp": "1786638490",
                                "recipient_id": "22796824815",
                                "recipient_user_id": "NE.1060631906346881",
                                "conversation": {
                                    "id": "f74d6f265e470060f0704f4cd82ed112",
                                    "expiration_timestamp": "1786638491",
                                    "origin": {
                                        "type": "service"
                                    }
                                },
                                "pricing": {
                                    "billable": false,
                                    "pricing_model": "PMP",
                                    "category": "service",
                                    "type": "free_customer_service"
                                }
                            }
                        ]
                    },
                    "field": "messages"
                }
            ]
        }
    ]
}

Raw

{"object":"whatsapp_business_account","entry":[{"id":"3771418223149908","changes":[{"value":{"messaging_product":"whatsapp","metadata":{"display_phone_number":"22792076767","phone_number_id":"628049967062357"},"contacts":[{"wa_id":"22796824815","user_id":"NE.1060631906346881"}],"statuses":[{"id":"wamid.HBgLMjI3OTY4MjQ4MTUVAgARGBIyRjE2N0Q1MjRFODcyOTNFQzIA","status":"sent","timestamp":"1786638490","recipient_id":"22796824815","recipient_user_id":"NE.1060631906346881","conversation":{"id":"f74d6f265e470060f0704f4cd82ed112","expiration_timestamp":"1786638491","origin":{"type":"service"}},"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
"Thu, 13 Aug 2026 18:00:10 GMT"
x-debug-token
"99084e"

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:41
[
  [
    "file" => "/var/www/esnfood/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 41
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/security-http/Authenticator/RememberMeAuthenticator.php"
    "line" => 69
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 111
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php"
    "line" => 34
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php"
    "line" => 40
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 38
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 25
    "function" => "supports"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 80
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/security-http/Firewall.php"
    "line" => 95
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 220
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 157
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/http-kernel/Kernel.php"
    "line" => 197
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/esnfood/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/esnfood/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
API_PASSWORD
"l2424"
API_USERNAME
"91056163"
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"a12859895e2e6a4efd34e59ef33f0362"
CORS_ALLOW_ORIGIN
"^https?://localhost(:[0-9]+)?$"
DATABASE_URL
"mysql://root:db_esnfood_db9495@db_esnfood:3306/esnfood?serverVersion=8.4.0&charset=utf8mb4"
ENCRYPTION_KEY
"L3p120tG9XK5yFxViXxH8vMbFYK3+LK8M4oBlGRZBWFNs="
FCM_CREDENTIALS_FILE
"%kernel.project_dir%/config/firebase/firebase_credentials.json"
FCM_PROJECT_ID
"sayf-service"
FCM_SERVER_KEY
"BCr34OvmoqhxBu0UjQJUtRiWVoM6Xv7VfbxgFPaypujUAR_9nqnmufRC8lN6Wftc2Wl_DJDfuq_nIBgszKU6hE4"
FIREBASE_CREDENTIALS
"%kernel.project_dir%/config/firebase/firebase_credentials.json"
JWT_PASSPHRASE
"0d0c843b849d07f7464708eff58b6f568672887a58bca4af780815798cf9caf1"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"null://null"
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"
CONTENT_LENGTH
"720"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/esnfood/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/esnfood/public"
GATEWAY_INTERFACE
"CGI/1.1"
GPG_KEYS
"39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC"
HOSTNAME
"7b16a0278631"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"deflate, gzip"
HTTP_AUTHORIZATION
""
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"webhook-food.esn-niger.com"
HTTP_USER_AGENT
"facebookexternalua"
HTTP_X_FORWARDED_FOR
"173.252.127.14"
HTTP_X_FORWARDED_HOST
"webhook-food.esn-niger.com"
HTTP_X_FORWARDED_SERVER
"webhook-food.esn-niger.com"
HTTP_X_HUB_SIGNATURE
"sha1=f0005e896922583d3f04f38a3a852a0c984fa968"
HTTP_X_HUB_SIGNATURE_256
"sha256=3d49ebb3e241cde5713c2923b1a0272554d0ed502dce744278d8b1d555d31b83"
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.31.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
"95eae411d594fe6f6e5678b76645dc13ae47d3c0a5325c1d969b58dea56ee45a"
PHP_URL
"https://www.php.net/distributions/php-8.2.31.tar.xz"
PHP_VERSION
"8.2.31"
PWD
"/var/www"
QUERY_STRING
""
REMOTE_ADDR
"153.92.208.7"
REMOTE_PORT
"45808"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1786644010
REQUEST_TIME_FLOAT
1786644010.2439
REQUEST_URI
"/commande/client"
SCRIPT_FILENAME
"/var/www/esnfood/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.22.0.2"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"webhook-food.esn-niger.com"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.67 (Debian) Server at webhook-food.esn-niger.com Port 80</address>\n"
SERVER_SOFTWARE
"Apache/2.4.67 (Debian)"
SHLVL
"0"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_DEBUG,APP_SECRET,DATABASE_URL,FCM_SERVER_KEY,FCM_CREDENTIALS_FILE,FCM_PROJECT_ID,FIREBASE_CREDENTIALS,MESSENGER_TRANSPORT_DSN,MAILER_DSN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,API_USERNAME,API_PASSWORD,CORS_ALLOW_ORIGIN,ENCRYPTION_KEY"
argc
0
argv
[]