Error 400 Bad Request

POST https://disksaas.cwd-mm.com/api/agent/metrics

ApiAgentController :: metrics

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\Api\ApiAgentController::metrics"
_firewall_context
"security.firewall.map.context.main"
_route
"api_agent_metrics"
_route_params
[]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#514
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#611 …}
  }
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#516
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator {#606 …}
  }
]
_stopwatch_token
"ad5bff"

Request Headers

Header Value
accept-encoding
"gzip"
connection
"close"
content-length
"1077"
content-type
"application/json"
host
"disksaas.cwd-mm.com"
user-agent
"Go-http-client/2.0"
x-forwarded-for
"95.154.223.114"
x-forwarded-host
"disksaas.cwd-mm.com"
x-php-ob-level
"1"
x-real-ip
"95.154.223.114"

Request Content

Pretty

{
    "org_token": "55ed50ce86da9cee55ed4d576957c742f974a5c8788273fac315c3bc27bd197b",
    "server_uuid": "a72fce3a-b073-11f0-b5f4-a97215efe217",
    "disks": [
        {
            "device_path": "\/dev\/sda",
            "name": "QEMU QEMU HARDDISK",
            "serial_number": "\/dev\/sda",
            "model_family": "",
            "model_name": "QEMU QEMU HARDDISK",
            "capacity_bytes": 536870912000,
            "disk_type": "ssd",
            "rotation_rate": 0,
            "smart_status": false,
            "temperature": 0,
            "smart_data": {
                "device": {
                    "info_name": "\/dev\/sda",
                    "name": "\/dev\/sda",
                    "protocol": "SCSI",
                    "type": "scsi"
                },
                "device_type": {
                    "name": "disk",
                    "scsi_value": 0
                },
                "json_format_version": [
                    1,
                    0
                ],
                "local_time": {
                    "asctime": "Sat Feb  7 11:34:35 2026 UTC",
                    "time_t": 1770464075
                },
                "logical_block_size": 512,
                "model_name": "QEMU QEMU HARDDISK",
                "product": "QEMU HARDDISK",
                "revision": "2.5+",
                "rotation_rate": 0,
                "scsi_version": "SPC-3",
                "smartctl": {
                    "argv": [
                        "smartctl",
                        "-a",
                        "-j",
                        "\/dev\/sda"
                    ],
                    "build_info": "(local build)",
                    "exit_status": 4,
                    "platform_info": "x86_64-linux-5.15.0-164-generic",
                    "svn_revision": "5155",
                    "version": [
                        7,
                        2
                    ]
                },
                "temperature": {
                    "current": 0,
                    "drive_trip": 0
                },
                "user_capacity": {
                    "blocks": 1048576000,
                    "bytes": 536870912000
                },
                "vendor": "QEMU"
            }
        }
    ]
}

Raw

{"org_token":"55ed50ce86da9cee55ed4d576957c742f974a5c8788273fac315c3bc27bd197b","server_uuid":"a72fce3a-b073-11f0-b5f4-a97215efe217","disks":[{"device_path":"/dev/sda","name":"QEMU QEMU HARDDISK","serial_number":"/dev/sda","model_family":"","model_name":"QEMU QEMU HARDDISK","capacity_bytes":536870912000,"disk_type":"ssd","rotation_rate":0,"smart_status":false,"temperature":0,"smart_data":{"device":{"info_name":"/dev/sda","name":"/dev/sda","protocol":"SCSI","type":"scsi"},"device_type":{"name":"disk","scsi_value":0},"json_format_version":[1,0],"local_time":{"asctime":"Sat Feb  7 11:34:35 2026 UTC","time_t":1770464075},"logical_block_size":512,"model_name":"QEMU QEMU HARDDISK","product":"QEMU HARDDISK","revision":"2.5+","rotation_rate":0,"scsi_version":"SPC-3","smartctl":{"argv":["smartctl","-a","-j","/dev/sda"],"build_info":"(local build)","exit_status":4,"platform_info":"x86_64-linux-5.15.0-164-generic","svn_revision":"5155","version":[7,2]},"temperature":{"current":0,"drive_trip":0},"user_capacity":{"blocks":1048576000,"bytes":536870912000},"vendor":"QEMU"}}]}

Response

Response Headers

Header Value
cache-control
"private, must-revalidate"
content-security-policy
"default-src 'self'; connect-src 'self' https://api.stripe.com https://m.stripe.com https://m.stripe.network; font-src 'self' data: https://fonts.gstatic.com https://cdnjs.cloudflare.com; frame-ancestors 'self'; frame-src https://js.stripe.com https://hooks.stripe.com; img-src 'self' data: https:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://js.stripe.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://fonts.googleapis.com"
content-type
"application/json"
date
"Sat, 07 Feb 2026 11:34:35 GMT"
expires
"-1"
pragma
"no-cache"
referrer-policy
"strict-origin-when-cross-origin"
x-content-security-policy
"default-src 'self'; connect-src 'self' https://api.stripe.com https://m.stripe.com https://m.stripe.network; font-src 'self' data: https://fonts.gstatic.com https://cdnjs.cloudflare.com; frame-ancestors 'self'; frame-src https://js.stripe.com https://hooks.stripe.com; img-src 'self' data: https:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://js.stripe.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://fonts.googleapis.com"
x-content-type-options
"nosniff"
x-debug-token
"df5f97"
x-frame-options
"SAMEORIGIN"

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:39
[
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 39
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/security-http/Authenticator/RememberMeAuthenticator.php"
    "line" => 79
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticator.php"
    "line" => 67
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 120
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php"
    "line" => 32
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php"
    "line" => 35
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 38
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 25
    "function" => "supports"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 61
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 91
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/security-http/Firewall.php"
    "line" => 92
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 115
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 126
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 159
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 76
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/http-kernel/Kernel.php"
    "line" => 182
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/public/index.php"
    "line" => 8
    "args" => [
      "/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
ADMIN_USER_IDS
"1"
APP_ENV
"dev"
APP_SECRET
"ec6bf84b9ed0ed5a8901ba8ee8f04164"
APP_URL
"https://disksaas.cwd-mm.com"
DATABASE_URL
"mysql://disksaas:8cE41zoYkhRdbE3Ajy7j@127.0.0.1:3306/disksaas?serverVersion=mariadb-10.11.13&charset=utf8mb4"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
SENTRY_DSN
""

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"1077"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GEOIP_CITY
""
GEOIP_CITY_CONTINENT_CODE
"EU"
GEOIP_CITY_COUNTRY_CODE
"GB"
GEOIP_CITY_COUNTRY_CODE3
"GBR"
GEOIP_CITY_COUNTRY_NAME
"United Kingdom"
GEOIP_COUNTRY_CODE
"GB"
GEOIP_COUNTRY_CODE3
"GBR"
GEOIP_COUNTRY_NAME
"United Kingdom"
GEOIP_LATITUDE
"51.5000"
GEOIP_LONGITUDE
"-0.1300"
GEOIP_POSTAL_CODE
""
GEOIP_REGION
""
HOME
"/home/cwd-mm-disksaas"
HTTPS
"on"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_CONNECTION
"close"
HTTP_CONTENT_LENGTH
"1077"
HTTP_CONTENT_TYPE
"application/json"
HTTP_HOST
"disksaas.cwd-mm.com"
HTTP_USER_AGENT
"Go-http-client/2.0"
HTTP_X_FORWARDED_FOR
"95.154.223.114"
HTTP_X_FORWARDED_HOST
"disksaas.cwd-mm.com"
HTTP_X_REAL_IP
"95.154.223.114"
MGT
"1"
PHP_SELF
"/index.php"
PHP_VALUE
"""
\n
error_log=/home/cwd-mm-disksaas/logs/php/error.log;\n
memory_limit=512M;\n
max_execution_time=60;\n
max_input_time=60;\n
max_input_vars=10000;\n
post_max_size=64M;\n
upload_max_filesize=64M;\n
date.timezone=UTC;\n
display_errors=off;
"""
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"95.154.223.114"
REMOTE_PORT
""
REQUEST_METHOD
"POST"
REQUEST_TIME
1770464075
REQUEST_TIME_FLOAT
1770464075.7678
REQUEST_URI
"/api/agent/metrics"
SCRIPT_FILENAME
"/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"disksaas.cwd-mm.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SOFTWARE
"nginx/1.21.4"
SYMFONY_DOTENV_PATH
"/home/cwd-mm-disksaas/htdocs/disksaas.cwd-mm.com/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_URL,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,ADMIN_USER_IDS,SENTRY_DSN"
USER
"cwd-mm-disksaas"