-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
This issue is imported from pivotal - Originaly created at May 27, 2024 by Paul Rijke
Whe the credentials aren;t okay for the Spryng gateway, the SmsController fails with an:
{"channel":"request","level":"CRITICAL","message":"Uncaught PHP Exception ErrorException: \"Warning: Illegal string offset \'description\'\" at /var/www/html/src/Surfnet/StepupGateway/ApiBundle/Controller/SmsController.php line 51","context":{"exception":{"class":"ErrorException","message":"Warning: Illegal string offset \'description\'","code":0,"file":"/var/www/html/src/Surfnet/StepupGateway/ApiBundle/Controller/SmsController.php:51"}},"extra":{"art":"37995","server":"gateway.dev.openconext.local","application":"stepup-gateway","request_id":"706ed6fb0d4e2c89baf7ace43572bcf6"}}debugging of the result gave this result dump
^ Surfnet\StepupGateway\ApiBundle\Sms\SpryngMessageResult {#623 ▼
-message: Spryng\SpryngRestApi\Http\Response {#621 ▼
#curlInstance: curl resource @20 ▶}
#rawResponse: """
HTTP/2 401
date: Mon, 27 May 2024 13:45:36 GMT
content-type: application/json
server: Apache
cache-control: no-cache, private
access-control-allow-origin: *
access-control-expose-headers: *
strict-transport-security: max-age=31536000;
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
referrer-policy: no-referrer
vary: Authorization
x-robots-tag: none
{"error":"Unauthenticated."}
"""
#rawBody: "{"error":"Unauthenticated."}"
#responseCode: 401
}
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
icebox