https://dev-lms.coderslab.pl/webhooks/quiz/result/414382788

QuizWebhookController :: quizResponse

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"CodersLab\Lms\UserInterface\WebApp\Controller\QuizWebhookController::quizResponse"
_firewall_context
"security.firewall.map.context.webhooks"
_remove_csp_headers
true
_route
"webhook_quiz_response"
_route_params
[
  "quizProviderId" => "414382788"
]
_security_firewall_run
"_security_webhooks"
_stopwatch_token
"467f22"
quizProviderId
"414382788"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate"
connection
"close"
content-length
"413"
content-type
"application/vnd.surveymonkey.response.v1+json"
host
"dev-lms.coderslab.pl"
sm-apikey
"a_fQ045qTU26Hid063XvEQ"
sm-eventid
"10129099233"
sm-eventtype
"ResponseEvent"
sm-signature
"HUuwS114BIS17rJ37pUClaFP+jE="
user-agent
"python-requests/2.32.3"
x-forwarded-for
"44.238.58.2"
x-forwarded-host
"dev-lms.coderslab.pl"
x-forwarded-port
"443"
x-forwarded-proto
"https"
x-forwarded-ssl
"on"
x-original-uri
"/webhooks/quiz/result/414382788"
x-php-ob-level
"0"
x-real-ip
"44.238.58.2"

Request Content

Raw

{"name": "Response completed #414382788", "filter_type": "survey", "filter_id": "414382788", "event_type": "response_completed", "event_id": "10129099233", "event_datetime": "2025-08-02T10:07:46.189891+00:00", "object_type": "response", "object_id": "114911165935", "resources": {"respondent_id": "114911165935", "recipient_id": "0", "survey_id": "414382788", "user_id": "140923947", "collector_id": "432265328"}}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 02 Aug 2025 10:07:56 GMT"
x-debug-exception
"Client%20error%3A%20%60GET%20http%3A%2F%2F51.83.251.124%2Fresponse%3Fquiz_id%3D414382788%26response_id%3D114911165935%60%20resulted%20in%20a%20%60400%20Bad%20Request%60%20response%3A%0A%7B%22error%22%3A%22Missing%20property%20%5Cu0022custom_variables%5Cu0022%22%2C%22code%22%3A400%7D%0A"
x-debug-exception-file
"%2Fusr%2Fshare%2Fnginx%2Fhtml%2Fsrc%2FLms%2FModules%2FMaterials%2FInfrastructure%2FSurveyMonkeyProxy%2FSurveyMonkeyProxyClient.php:54"
x-debug-token
"bab7d4"
x-debug-token-link
"https://dev-lms.coderslab.pl/_profiler/86e979"
x-previous-debug-token
"86e979"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_DOMAIN
"dev-lms.coderslab.pl"
APP_ENV
"dev"
APP_SECRET
"secret"
ATATUS_APP_NAME
""
ATATUS_LICENSE_KEY
""
CORS_ALLOW_ORIGIN
"^(http|https)?://localhost(:[0-9]+)?$"
DATABASE_URL
"mysql://materialy:4dhwjj8w9ye38dhfn98e@mysql:3306/materialy"
GH_EXERCISES_PROCESSING
"1"
JWT_CONFIG_PATH
"config/jwt"
JWT_PASSPHRASE
"secret"
JWT_PUBLIC_KEY
"config/jwt/public.pem"
JWT_SECRET_KEY
"config/jwt/private.pem"
JWT_TOKEN_TTL
"4320000"
KERNEL_CLASS
"AppBundle\Kernel"
MAILER_DSN
"smtp://696c5947c73dc8:8fce3373a7736b@smtp.mailtrap.io:2525?encryption=tls&auth_mode=login"
MESSENGER_TRANSPORT_DSN
"redis://redis:6379"
MYSQL_DATABASE
"materialy"
MYSQL_HOST
"mysql"
MYSQL_PASSWORD
"4dhwjj8w9ye38dhfn98e"
MYSQL_PORT
"3306"
MYSQL_ROOT_PASSWORD
"secre4h3s98743h983jzt"
MYSQL_USER
"materialy"
SURVEY_MONKEY_ACCESS_TOKEN
"wCPwMf8ttCYBm2sGpvIpaIVGYPMiVb0pCb.ro1Ih3xQ-3sW4cxK.R15Hq1AcqG2CnsjdLnWT9ge3CWspyjZVZ-3Kt1eN4YuZSOtSAsoDPdocZTNG81tBAlQmnwhp9c4w"
SURVEY_MONKEY_API_KEY
""
TENANT_USER_LANGUAGES
"pl,en,de"
TRUSTED_PROXIES
"10.0.0.0/8"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"413"
CONTENT_TYPE
"application/vnd.surveymonkey.response.v1+json"
DOCUMENT_ROOT
"/usr/share/nginx/html"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GPG_KEYS
"528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD"
HOME
"/var/www"
HOSTNAME
"a97563816c3c"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate"
HTTP_CONNECTION
"close"
HTTP_CONTENT_LENGTH
"413"
HTTP_CONTENT_TYPE
"application/vnd.surveymonkey.response.v1+json"
HTTP_HOST
"dev-lms.coderslab.pl"
HTTP_SM_APIKEY
"a_fQ045qTU26Hid063XvEQ"
HTTP_SM_EVENTID
"10129099233"
HTTP_SM_EVENTTYPE
"ResponseEvent"
HTTP_SM_SIGNATURE
"HUuwS114BIS17rJ37pUClaFP+jE="
HTTP_USER_AGENT
"python-requests/2.32.3"
HTTP_X_FORWARDED_FOR
"44.238.58.2"
HTTP_X_FORWARDED_HOST
"dev-lms.coderslab.pl"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SSL
"on"
HTTP_X_ORIGINAL_URI
"/webhooks/quiz/result/414382788"
HTTP_X_REAL_IP
"44.238.58.2"
LANG
"en_US.UTF-8"
LC_ALL
"en_US.UTF-8"
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.1.30.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
"f24a6007f0b25a53cb7fbaee69c85017e0345b62089c2425a0afb7e177192ed1"
PHP_URL
"https://www.php.net/distributions/php-8.1.30.tar.xz"
PHP_VERSION
"8.1.30"
PRIMARY_LANG
"pl"
PWD
"/usr/share/nginx/html"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"10.5.0.7"
REMOTE_PORT
"35636"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1754129274
REQUEST_TIME_FLOAT
1754129274.6695
REQUEST_URI
"/webhooks/quiz/result/414382788"
SCRIPT_FILENAME
"/usr/share/nginx/html/public//index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"10.5.0.106"
SERVER_NAME
"dev-lms.coderslab.pl"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.26.2"
SYMFONY_DOTENV_VARS
"TENANT_USER_LANGUAGES,APP_DOMAIN,APP_SECRET,KERNEL_CLASS,TRUSTED_PROXIES,MYSQL_DATABASE,MYSQL_USER,MYSQL_PASSWORD,MYSQL_ROOT_PASSWORD,MYSQL_HOST,MYSQL_PORT,JWT_CONFIG_PATH,CORS_ALLOW_ORIGIN,DATABASE_URL,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,JWT_TOKEN_TTL,MAILER_DSN,SURVEY_MONKEY_ACCESS_TOKEN,SURVEY_MONKEY_API_KEY,APP_ENV,MESSENGER_TRANSPORT_DSN,GH_EXERCISES_PROCESSING,ATATUS_LICENSE_KEY,ATATUS_APP_NAME"
TZ
"Europe/Warsaw"
USER
"www-data"
argc
0
argv
[]

Sub Requests 1

ErrorController (token = 86e979)

Key Value
_controller
"error_controller"
_stopwatch_token
"8e75d8"
exception
CodersLab\Lms\Modules\Materials\Application\Service\Quiz\QuizException {#1068
  #message: """
    Client error: `GET http://51.83.251.124/response?quiz_id=414382788&response_id=114911165935` resulted in a `400 Bad Request` response:\n
    {"error":"Missing property \u0022custom_variables\u0022","code":400}\n
    """
  #code: 400
  #file: "/usr/share/nginx/html/src/Lms/Modules/Materials/Infrastructure/SurveyMonkeyProxy/SurveyMonkeyProxyClient.php"
  #line: 54
  trace: {
    /usr/share/nginx/html/src/Lms/Modules/Materials/Infrastructure/SurveyMonkeyProxy/SurveyMonkeyProxyClient.php:54 {
      CodersLab\Lms\Modules\Materials\Infrastructure\SurveyMonkeyProxy\SurveyMonkeyProxyClient->getResponse(string $quizId, string $responseId): QuizResponse …
      ›     $this->proxyErrorsQuery->storeError($quizId, $responseId);    throw new QuizException($e->getMessage(), $e->getCode());} catch (RequestException $e) {
    }
    /usr/share/nginx/html/src/Lms/UserInterface/WebApp/Controller/QuizWebhookController.php:110 {
      CodersLab\Lms\UserInterface\WebApp\Controller\QuizWebhookController->quizResponse(Request $request): Response …
      ›     $content['resources']['survey_id'],    $content['object_id']);
      arguments: {
        $quizId: "414382788"
        $responseId: "114911165935"
      }
    }
    /usr/share/nginx/html/vendor/symfony/http-kernel/HttpKernel.php:153 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#11 …}
      }
    }
    /usr/share/nginx/html/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 {#11 …}
        $type: 1
      }
    }
    /usr/share/nginx/html/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 {#11 …}
        $type: 1
        $catch: true
      }
    }
    /usr/share/nginx/html/public/index.php:18 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#11 …}
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#524 …9}