Request / Response
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
Key | Value |
---|---|
_api_header_parameters | [ "host" => [ "www.bo.blacksheep-van.com" ] "accept-encoding" => [ "gzip, br, deflate" ] "user-agent" => [ "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)" ] "from" => [ "gptbot(at)openai.com" ] "accept" => [ "*/*" ] "x-openai-host-hash" => [ "187185535" ] "x-php-ob-level" => [ "1" ] ] |
_api_normalization_context | [ "groups" => [ "read:allPromotionCode" ] "operation_name" => "_api_/promotion_codes/{id}{._format}_get" "operation" => ApiPlatform\Metadata\Get {#898 #parameters: ApiPlatform\Metadata\Parameters {#749 …} #shortName: "PromotionCode" #class: "App\Entity\PromotionCode" #description: null #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: [ "groups" => [ "read:allPromotionCode" ] ] #denormalizationContext: [ "groups" => [ "write:PromotionCode" ] ] #collectDenormalizationErrors: null #validationContext: null #filters: [] #elasticsearch: null #mercure: null #messenger: null #input: null #output: null #order: null #fetchPartial: null #forceEager: null #paginationEnabled: null #paginationType: null #paginationItemsPerPage: null #paginationMaximumItemsPerPage: null #paginationPartial: null #paginationClientEnabled: null #paginationClientItemsPerPage: true #paginationClientPartial: null #paginationFetchJoinCollection: null #paginationUseOutputWalkers: null #security: null #securityMessage: null #securityPostDenormalize: null #securityPostDenormalizeMessage: null #securityPostValidation: null #securityPostValidationMessage: null #provider: "ApiPlatform\Doctrine\Orm\State\ItemProvider" #processor: "api_platform.doctrine.orm.state.persist_processor" #stateOptions: ApiPlatform\Doctrine\Orm\State\Options {#747 …} #queryParameterValidationEnabled: null #extraProperties: [ "standard_put" => true "rfc_7807_compliant_errors" => true ] #paginationViaCursor: null #read: true #deserialize: null #validate: null #write: null #serialize: null #priority: 1 #name: "_api_/promotion_codes/{id}{._format}_get" #method: "GET" #uriTemplate: "/promotion_codes/{id}{._format}" #types: null #formats: null #inputFormats: [ "json" => [ "application/json" ] "jsonld" => [ "application/ld+json" ] "html" => [ "text/html" ] "multipart" => [ "multipart/form-data" ] "mime_types" => [ "multipart/form-data" ] ] #outputFormats: [ "json" => [ "application/json" ] "jsonld" => [ "application/ld+json" ] "html" => [ "text/html" ] "multipart" => [ "multipart/form-data" ] "mime_types" => [ "multipart/form-data" ] ] #uriVariables: [ "id" => ApiPlatform\Metadata\Link {#745 #key: null #schema: null #openApi: null #provider: null #filter: null #property: null #description: null #required: null #priority: null #constraints: null #extraProperties: [] -parameterName: "id" -fromProperty: null -toProperty: null -fromClass: "App\Entity\PromotionCode" -toClass: null -identifiers: [ "id" ] -compositeIdentifier: null -expandedValue: null -security: null -securityMessage: null -securityObjectName: null } ] #routePrefix: null #routeName: null #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: null #status: null #host: null #schemes: null #condition: null #controller: null #headers: null #cacheHeaders: [ "vary" => [ "Content-Type" "Authorization" "Origin" ] ] #hydraContext: null #openapiContext: null #openapi: null #exceptionToStatus: null #links: null } "resource_class" => "App\Entity\PromotionCode" "skip_null_values" => true "iri_only" => false "request_uri" => "/api/promotion_codes/post/" "uri" => "https://www.bo.blacksheep-van.com/api/promotion_codes/post/" "input" => null "output" => null "uri_variables" => [ "id" => "post" ] "exclude_from_cache_key" => [ "root_operation" "operation" ] "api_gateway" => false "base_url" => "" "spec_version" => "" ] |
_api_operation | ApiPlatform\Metadata\Get {#898 #parameters: ApiPlatform\Metadata\Parameters {#749 …} #shortName: "PromotionCode" #class: "App\Entity\PromotionCode" #description: null #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: [ "groups" => [ "read:allPromotionCode" ] ] #denormalizationContext: [ "groups" => [ "write:PromotionCode" ] ] #collectDenormalizationErrors: null #validationContext: null #filters: [] #elasticsearch: null #mercure: null #messenger: null #input: null #output: null #order: null #fetchPartial: null #forceEager: null #paginationEnabled: null #paginationType: null #paginationItemsPerPage: null #paginationMaximumItemsPerPage: null #paginationPartial: null #paginationClientEnabled: null #paginationClientItemsPerPage: true #paginationClientPartial: null #paginationFetchJoinCollection: null #paginationUseOutputWalkers: null #security: null #securityMessage: null #securityPostDenormalize: null #securityPostDenormalizeMessage: null #securityPostValidation: null #securityPostValidationMessage: null #provider: "ApiPlatform\Doctrine\Orm\State\ItemProvider" #processor: "api_platform.doctrine.orm.state.persist_processor" #stateOptions: ApiPlatform\Doctrine\Orm\State\Options {#747 …} #queryParameterValidationEnabled: null #extraProperties: [ "standard_put" => true "rfc_7807_compliant_errors" => true ] #paginationViaCursor: null #read: true #deserialize: null #validate: null #write: null #serialize: null #priority: 1 #name: "_api_/promotion_codes/{id}{._format}_get" #method: "GET" #uriTemplate: "/promotion_codes/{id}{._format}" #types: null #formats: null #inputFormats: [ "json" => [ "application/json" ] "jsonld" => [ "application/ld+json" ] "html" => [ "text/html" ] "multipart" => [ "multipart/form-data" ] "mime_types" => [ "multipart/form-data" ] ] #outputFormats: [ "json" => [ "application/json" ] "jsonld" => [ "application/ld+json" ] "html" => [ "text/html" ] "multipart" => [ "multipart/form-data" ] "mime_types" => [ "multipart/form-data" ] ] #uriVariables: [ "id" => ApiPlatform\Metadata\Link {#745 #key: null #schema: null #openApi: null #provider: null #filter: null #property: null #description: null #required: null #priority: null #constraints: null #extraProperties: [] -parameterName: "id" -fromProperty: null -toProperty: null -fromClass: "App\Entity\PromotionCode" -toClass: null -identifiers: [ "id" ] -compositeIdentifier: null -expandedValue: null -security: null -securityMessage: null -securityObjectName: null } ] #routePrefix: null #routeName: null #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: null #status: null #host: null #schemes: null #condition: null #controller: null #headers: null #cacheHeaders: [ "vary" => [ "Content-Type" "Authorization" "Origin" ] ] #hydraContext: null #openapiContext: null #openapi: null #exceptionToStatus: null #links: null } |
_api_operation_name | "_api_/promotion_codes/{id}{._format}_get" |
_api_query_parameters | [] |
_api_resource_class | "App\Entity\PromotionCode" |
_api_uri_variables | [ "id" => 0 ] |
_controller | "Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction" |
_firewall_context | "security.firewall.map.context.api" |
_format | null |
_remove_csp_headers | true |
_route | "_api_/promotion_codes/{id}{._format}_get" |
_route_params | [ "path" => "/api/promotion_codes/post" "permanent" => true "scheme" => null "httpPort" => 80 "httpsPort" => 443 "_format" => null "_stateless" => true "_api_resource_class" => "App\Entity\PromotionCode" "_api_operation_name" => "_api_/promotion_codes/{id}{._format}_get" "id" => "post" ] |
_stateless | true |
_stopwatch_token | "0c207c" |
httpPort | 80 |
httpsPort | 443 |
id | "post" |
input_format | null |
path | "/api/promotion_codes/post" |
permanent | true |
scheme | null |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
accept-encoding | "gzip, br, deflate" |
from | "gptbot(at)openai.com" |
host | "www.bo.blacksheep-van.com" |
user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)" |
x-openai-host-hash | "187185535" |
x-php-ob-level | "1" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
Header | Value |
---|---|
cache-control | "no-cache, private" |
content-location | "/api/errors" |
content-type | "application/problem+json; charset=utf-8" |
date | "Thu, 03 Jul 2025 20:54:38 GMT" |
link | "<http://www.w3.org/ns/hydra/error>; rel="http://www.w3.org/ns/json-ld#error",<https://www.bo.blacksheep-van.com/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation"" |
vary | "Accept" |
x-content-type-options | "nosniff" |
x-debug-token | "b00073" |
x-debug-token-link | "https://www.bo.blacksheep-van.com/_profiler/51ecf4" |
x-frame-options | "deny" |
x-previous-debug-token | "51ecf4" |
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_ENV | "dev" |
APP_SECRET | "ccf86bbbf834365a27c08a368619f249" |
APP_URL | "localhost:8000" |
BREVO_DSN | "brevo://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@default?sender=0661629817" |
CORS_ALLOW_ORIGIN | "^.*" |
DATABASE_URL | "mysql://blacksheep:~%dgR];.eCeFX!+!pnyRh3C0xg:)ku!E@ls-c724f3067c331851bc139fd6d731937a6949539a.ccbdoodmfyfk.eu-west-3.rds.amazonaws.com:3306/DEV?serverVersion=5.7&charset=utf8mb4" |
JWT_PASSPHRASE | "60289ccc3387adff286c2e04fcc1dd621f5524819f67244a2f8ffd4847207abb" |
JWT_PUBLIC_KEY | "%kernel.project_dir%/config/jwt/public.pem" |
JWT_SECRET_KEY | "%kernel.project_dir%/config/jwt/private.pem" |
JWT_TOKEN_TTL | "3600" |
MAILER_DSN | "brevo+smtp://marketing@blacksheep-van.com:tqDCWSB1Vx9yrM48@default" |
MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
PUSHER_APP_ID | "1764561" |
PUSHER_CLUSTER | "eu" |
PUSHER_KEY | "9f6f9a1504e4f3509854" |
PUSHER_SECRET | "1ea7ee1ae39389d53221" |
SLACK_DSN | "slack://xoxb-174905094545-6711765502148-7wqQAxstO1IqwjR0G8L1LCTN@default?channel=erplogging" |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
CONTEXT_DOCUMENT_ROOT | "/opt/bitnami/apache/htdocs/dev_erp/public" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/opt/bitnami/apache/htdocs/dev_erp/public" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HOME | "/usr/sbin" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_ACCEPT_ENCODING | "gzip, br, deflate" |
HTTP_FROM | "gptbot(at)openai.com" |
HTTP_HOST | "www.bo.blacksheep-van.com" |
HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)" |
HTTP_X_OPENAI_HOST_HASH | "187185535" |
PATH | "/opt/bitnami/apache/bin:/opt/bitnami/common/bin:/opt/bitnami/apache/bin:/opt/bitnami/apache2/bin:/opt/bitnami/common/bin:/opt/bitnami/gonit/bin:/opt/bitnami/mariadb/bin:/opt/bitnami/mariadb/sbin:/opt/bitnami/php/bin:/opt/bitnami/php/sbin:/opt/bitnami/varnish/bin:/opt/bitnami/varnish/sbin:/opt/bitnami/nami/bin:/opt/bitnami/apache/bin:/opt/bitnami/apache2/bin:/opt/bitnami/common/bin:/opt/bitnami/gonit/bin:/opt/bitnami/mariadb/bin:/opt/bitnami/mariadb/sbin:/opt/bitnami/php/bin:/opt/bitnami/php/sbin:/opt/bitnami/varnish/bin:/opt/bitnami/varnish/sbin:/opt/bitnami/nami/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
PHP_SELF | "/index.php" |
QUERY_STRING | "" |
REDIRECT_HTTPS | "on" |
REDIRECT_SCRIPT_URI | "https://www.bo.blacksheep-van.com/api/promotion_codes/post/" |
REDIRECT_SCRIPT_URL | "/api/promotion_codes/post/" |
REDIRECT_SSL_TLS_SNI | "www.bo.blacksheep-van.com" |
REDIRECT_STATUS | "200" |
REDIRECT_URL | "/api/promotion_codes/post/" |
REMOTE_ADDR | "20.171.207.25" |
REMOTE_PORT | "39746" |
REQUEST_METHOD | "GET" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1751576078 |
REQUEST_TIME_FLOAT | 1751576078.7671 |
REQUEST_URI | "/api/promotion_codes/post/" |
SCRIPT_FILENAME | "/opt/bitnami/apache/htdocs/dev_erp/public/index.php" |
SCRIPT_NAME | "/index.php" |
SCRIPT_URI | "https://www.bo.blacksheep-van.com/api/promotion_codes/post/" |
SCRIPT_URL | "/api/promotion_codes/post/" |
SERVER_ADDR | "172.26.6.38" |
SERVER_ADMIN | "you@example.com" |
SERVER_NAME | "www.bo.blacksheep-van.com" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache" |
SSL_TLS_SNI | "www.bo.blacksheep-van.com" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,BREVO_DSN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,JWT_TOKEN_TTL,CORS_ALLOW_ORIGIN,SLACK_DSN,PUSHER_APP_ID,PUSHER_KEY,PUSHER_SECRET,PUSHER_CLUSTER,APP_URL" |
USER | "daemon" |
Sub Requests 1
PlaceholderAction (token = 51ecf4)
Key | Value |
---|---|
_api_header_parameters | [ "host" => [ "www.bo.blacksheep-van.com" ] "accept-encoding" => [ "gzip, br, deflate" ] "user-agent" => [ "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)" ] "from" => [ "gptbot(at)openai.com" ] "accept" => [ "*/*" ] "x-openai-host-hash" => [ "187185535" ] "x-php-ob-level" => [ "1" ] ] |
_api_normalization_context | [ "groups" => [ "jsonld" "trace" ] "skip_null_values" => true "rfc_7807_compliant_errors" => true "api_error_resource" => true "ignored_attributes" => [ "trace" "file" "line" "code" "message" "traceAsString" ] "operation_name" => "_api_errors_hydra" "operation" => ApiPlatform\Metadata\Error {#2049 #parameters: ApiPlatform\Metadata\Parameters {#1793 …} #shortName: "Error" #class: "ApiPlatform\State\ApiResource\Error" #description: null #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: [ "groups" => [ "jsonld" ] "skip_null_values" => true "rfc_7807_compliant_errors" => true "api_error_resource" => true "ignored_attributes" => [ "trace" "file" "line" "code" "message" "traceAsString" ] ] #denormalizationContext: null #collectDenormalizationErrors: null #validationContext: null #filters: [] #elasticsearch: null #mercure: null #messenger: null #input: null #output: null #order: null #fetchPartial: null #forceEager: null #paginationEnabled: null #paginationType: null #paginationItemsPerPage: null #paginationMaximumItemsPerPage: null #paginationPartial: null #paginationClientEnabled: null #paginationClientItemsPerPage: true #paginationClientPartial: null #paginationFetchJoinCollection: null #paginationUseOutputWalkers: null #security: null #securityMessage: null #securityPostDenormalize: null #securityPostDenormalizeMessage: null #securityPostValidation: null #securityPostValidationMessage: null #provider: "api_platform.state.error_provider" #processor: null #stateOptions: null #queryParameterValidationEnabled: null #extraProperties: [ "standard_put" => true "rfc_7807_compliant_errors" => true "user_defined_uri_template" => true ] #paginationViaCursor: null #read: true #deserialize: null #validate: null #write: null #serialize: null #priority: 1 #name: "_api_errors_hydra" #method: "GET" #uriTemplate: "/errors/{status}" #types: [ "hydra:Error" ] #formats: null #inputFormats: [ "json" => [ "application/json" ] "jsonld" => [ "application/ld+json" ] "html" => [ "text/html" ] "multipart" => [ "multipart/form-data" ] "mime_types" => [ "multipart/form-data" ] ] #outputFormats: [ "jsonld" => [ "application/problem+json" ] ] #uriVariables: [ "status" => ApiPlatform\Metadata\Link {#1792 #key: null #schema: null #openApi: null #provider: null #filter: null #property: null #description: null #required: null #priority: null #constraints: null #extraProperties: [] -parameterName: "status" -fromProperty: null -toProperty: null -fromClass: "ApiPlatform\State\ApiResource\Error" -toClass: null -identifiers: [ "status" ] -compositeIdentifier: null -expandedValue: null -security: null -securityMessage: null -securityObjectName: null } ] #routePrefix: null #routeName: "api_errors" #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: null #status: 500 #host: null #schemes: null #condition: null #controller: null #headers: null #cacheHeaders: [ "vary" => [ "Content-Type" "Authorization" "Origin" ] ] #hydraContext: null #openapiContext: null #openapi: false #exceptionToStatus: null #links: [ Symfony\Component\WebLink\Link {#1791 -href: "http://www.w3.org/ns/hydra/error" -rel: [ "http://www.w3.org/ns/json-ld#error" => "http://www.w3.org/ns/json-ld#error" ] -attributes: [] } ] } "resource_class" => "ApiPlatform\State\ApiResource\Error" "iri_only" => false "request_uri" => "/api/promotion_codes/post/" "uri" => "https://www.bo.blacksheep-van.com/api/promotion_codes/post/" "input" => null "output" => null "types" => [ "hydra:Error" ] "uri_variables" => [ "status" => null ] "exclude_from_cache_key" => [ "root_operation" "operation" ] "api_gateway" => false "base_url" => "" "spec_version" => "" ] |
_api_operation | ApiPlatform\Metadata\Error {#2049 #parameters: ApiPlatform\Metadata\Parameters {#1793 …} #shortName: "Error" #class: "ApiPlatform\State\ApiResource\Error" #description: null #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: [ "groups" => [ "jsonld" ] "skip_null_values" => true "rfc_7807_compliant_errors" => true "api_error_resource" => true "ignored_attributes" => [ "trace" "file" "line" "code" "message" "traceAsString" ] ] #denormalizationContext: null #collectDenormalizationErrors: null #validationContext: null #filters: [] #elasticsearch: null #mercure: null #messenger: null #input: null #output: null #order: null #fetchPartial: null #forceEager: null #paginationEnabled: null #paginationType: null #paginationItemsPerPage: null #paginationMaximumItemsPerPage: null #paginationPartial: null #paginationClientEnabled: null #paginationClientItemsPerPage: true #paginationClientPartial: null #paginationFetchJoinCollection: null #paginationUseOutputWalkers: null #security: null #securityMessage: null #securityPostDenormalize: null #securityPostDenormalizeMessage: null #securityPostValidation: null #securityPostValidationMessage: null #provider: "api_platform.state.error_provider" #processor: null #stateOptions: null #queryParameterValidationEnabled: null #extraProperties: [ "standard_put" => true "rfc_7807_compliant_errors" => true "user_defined_uri_template" => true ] #paginationViaCursor: null #read: true #deserialize: null #validate: null #write: null #serialize: null #priority: 1 #name: "_api_errors_hydra" #method: "GET" #uriTemplate: "/errors/{status}" #types: [ "hydra:Error" ] #formats: null #inputFormats: [ "json" => [ "application/json" ] "jsonld" => [ "application/ld+json" ] "html" => [ "text/html" ] "multipart" => [ "multipart/form-data" ] "mime_types" => [ "multipart/form-data" ] ] #outputFormats: [ "jsonld" => [ "application/problem+json" ] ] #uriVariables: [ "status" => ApiPlatform\Metadata\Link {#1792 #key: null #schema: null #openApi: null #provider: null #filter: null #property: null #description: null #required: null #priority: null #constraints: null #extraProperties: [] -parameterName: "status" -fromProperty: null -toProperty: null -fromClass: "ApiPlatform\State\ApiResource\Error" -toClass: null -identifiers: [ "status" ] -compositeIdentifier: null -expandedValue: null -security: null -securityMessage: null -securityObjectName: null } ] #routePrefix: null #routeName: "api_errors" #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: null #status: 500 #host: null #schemes: null #condition: null #controller: null #headers: null #cacheHeaders: [ "vary" => [ "Content-Type" "Authorization" "Origin" ] ] #hydraContext: null #openapiContext: null #openapi: false #exceptionToStatus: null #links: [ Symfony\Component\WebLink\Link {#1791 -href: "http://www.w3.org/ns/hydra/error" -rel: [ "http://www.w3.org/ns/json-ld#error" => "http://www.w3.org/ns/json-ld#error" ] -attributes: [] } ] } |
_api_operation_name | "_api_errors_hydra" |
_api_original_route | "_api_/promotion_codes/{id}{._format}_get" |
_api_original_route_params | [ "path" => "/api/promotion_codes/post" "permanent" => true "scheme" => null "httpPort" => 80 "httpsPort" => 443 "_format" => null "_stateless" => true "_api_resource_class" => "App\Entity\PromotionCode" "_api_operation_name" => "_api_/promotion_codes/{id}{._format}_get" "id" => "post" ] |
_api_platform_disable_listeners | true |
_api_platform_links | Symfony\Component\WebLink\GenericLinkProvider {#2224 -links: [ 1791 => Symfony\Component\WebLink\Link {#1791 -href: "http://www.w3.org/ns/hydra/error" -rel: [ "http://www.w3.org/ns/json-ld#error" => "http://www.w3.org/ns/json-ld#error" ] -attributes: [] } 2226 => Symfony\Component\WebLink\Link {#2226 -href: "https://www.bo.blacksheep-van.com/api/docs.jsonld" -rel: [ "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation" ] -attributes: [] } ] } |
_api_previous_operation | ApiPlatform\Metadata\Get {#898 #parameters: ApiPlatform\Metadata\Parameters {#749 …} #shortName: "PromotionCode" #class: "App\Entity\PromotionCode" #description: null #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: [ "groups" => [ "read:allPromotionCode" ] ] #denormalizationContext: [ "groups" => [ "write:PromotionCode" ] ] #collectDenormalizationErrors: null #validationContext: null #filters: [] #elasticsearch: null #mercure: null #messenger: null #input: null #output: null #order: null #fetchPartial: null #forceEager: null #paginationEnabled: null #paginationType: null #paginationItemsPerPage: null #paginationMaximumItemsPerPage: null #paginationPartial: null #paginationClientEnabled: null #paginationClientItemsPerPage: true #paginationClientPartial: null #paginationFetchJoinCollection: null #paginationUseOutputWalkers: null #security: null #securityMessage: null #securityPostDenormalize: null #securityPostDenormalizeMessage: null #securityPostValidation: null #securityPostValidationMessage: null #provider: "ApiPlatform\Doctrine\Orm\State\ItemProvider" #processor: "api_platform.doctrine.orm.state.persist_processor" #stateOptions: ApiPlatform\Doctrine\Orm\State\Options {#747 …} #queryParameterValidationEnabled: null #extraProperties: [ "standard_put" => true "rfc_7807_compliant_errors" => true ] #paginationViaCursor: null #read: true #deserialize: null #validate: null #write: null #serialize: null #priority: 1 #name: "_api_/promotion_codes/{id}{._format}_get" #method: "GET" #uriTemplate: "/promotion_codes/{id}{._format}" #types: null #formats: null #inputFormats: [ "json" => [ "application/json" ] "jsonld" => [ "application/ld+json" ] "html" => [ "text/html" ] "multipart" => [ "multipart/form-data" ] "mime_types" => [ "multipart/form-data" ] ] #outputFormats: [ "json" => [ "application/json" ] "jsonld" => [ "application/ld+json" ] "html" => [ "text/html" ] "multipart" => [ "multipart/form-data" ] "mime_types" => [ "multipart/form-data" ] ] #uriVariables: [ "id" => ApiPlatform\Metadata\Link {#745 #key: null #schema: null #openApi: null #provider: null #filter: null #property: null #description: null #required: null #priority: null #constraints: null #extraProperties: [] -parameterName: "id" -fromProperty: null -toProperty: null -fromClass: "App\Entity\PromotionCode" -toClass: null -identifiers: [ "id" ] -compositeIdentifier: null -expandedValue: null -security: null -securityMessage: null -securityObjectName: null } ] #routePrefix: null #routeName: null #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: null #status: null #host: null #schemes: null #condition: null #controller: null #headers: null #cacheHeaders: [ "vary" => [ "Content-Type" "Authorization" "Origin" ] ] #hydraContext: null #openapiContext: null #openapi: null #exceptionToStatus: null #links: null } |
_api_query_parameters | [] |
_api_requested_operation | null |
_api_resource_class | "ApiPlatform\State\ApiResource\Error" |
_api_uri_variables | [] |
_controller | "api_platform.action.placeholder" |
_resources | [ "/api/errors" => "/api/errors" ] |
_stopwatch_token | "f224e6" |
data | ApiPlatform\State\ApiResource\Error {#2050 #message: "An error occurred" #code: 500 #file: "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/ApiResource/Error.php" #line: 125 -previous: Doctrine\DBAL\Driver\PDO\Exception {#1775 …} -title: "An error occurred" -detail: "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'a1_.description' in 'field list'" -status: 500 -instance: null -type: "/errors/500" -headers: [] +originalTrace: [ [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/dbal/src/Connection.php" "line" => 1939 "function" => "convert" "class" => "Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/dbal/src/Connection.php" "line" => 1881 "function" => "handleDriverException" "class" => "Doctrine\DBAL\Connection" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/dbal/src/Connection.php" "line" => 1106 "function" => "convertExceptionDuringQuery" "class" => "Doctrine\DBAL\Connection" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/Query/Exec/SingleSelectExecutor.php" "line" => 33 "function" => "executeQuery" "class" => "Doctrine\DBAL\Connection" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/Query.php" "line" => 327 "function" => "execute" "class" => "Doctrine\ORM\Query\Exec\SingleSelectExecutor" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/AbstractQuery.php" "line" => 1212 "function" => "_doExecute" "class" => "Doctrine\ORM\Query" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/AbstractQuery.php" "line" => 1166 "function" => "executeIgnoreQueryCache" "class" => "Doctrine\ORM\AbstractQuery" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/AbstractQuery.php" "line" => 953 "function" => "execute" "class" => "Doctrine\ORM\AbstractQuery" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Doctrine/Orm/State/ItemProvider.php" "line" => 87 "function" => "getOneOrNullResult" "class" => "Doctrine\ORM\AbstractQuery" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/CallableProvider.php" "line" => 43 "function" => "provide" "class" => "ApiPlatform\Doctrine\Orm\State\ItemProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/Provider/ReadProvider.php" "line" => 76 "function" => "provide" "class" => "ApiPlatform\State\CallableProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/Validator/State/ParameterValidatorProvider.php" "line" => 87 "function" => "provide" "class" => "ApiPlatform\State\Provider\ReadProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/Provider/ParameterProvider.php" "line" => 99 "function" => "provide" "class" => "ApiPlatform\Symfony\Validator\State\ParameterValidatorProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/Bundle/SwaggerUi/SwaggerUiProvider.php" "line" => 50 "function" => "provide" "class" => "ApiPlatform\State\Provider\ParameterProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/Security/State/AccessCheckerProvider.php" "line" => 62 "function" => "provide" "class" => "ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/EventListener/ReadListener.php" "line" => 95 "function" => "provide" "class" => "ApiPlatform\Symfony\Security\State\AccessCheckerProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/Debug/WrappedListener.php" "line" => 116 "function" => "onKernelRequest" "class" => "ApiPlatform\Symfony\EventListener\ReadListener" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 220 "function" => "__invoke" "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 56 "function" => "callListeners" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php" "line" => 139 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/http-kernel/HttpKernel.php" "line" => 157 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/http-kernel/HttpKernel.php" "line" => 76 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/http-kernel/Kernel.php" "line" => 197 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php" "line" => 35 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/autoload_runtime.php" "line" => 29 "function" => "run" "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/public/index.php" "line" => 5 "function" => "require_once" ] ] : { { ApiPlatform\State\ApiResource\Error::createFromException(Exception|Throwable $exception, int $status): self … › › |
exception | Doctrine\DBAL\Exception\InvalidFieldNameException {#1758 #message: "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'a1_.description' in 'field list'" #code: 1054 #file: "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php" #line: 67 -previous: Doctrine\DBAL\Driver\PDO\Exception {#1775 …} -query: Doctrine\DBAL\Query {#1774 …} : { { Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(Exception $exception, ?Query $query): DriverException … › |
input_format | null |
logger | Symfony\Bridge\Monolog\Processor\DebugProcessor {#394 -records: [ 2 => [ [ "timestamp" => 1751576078 "timestamp_rfc3339" => "2025-07-03T20:54:38.781+00:00" "message" => "Matched route "{route}"." "priority" => 200 "priorityName" => "INFO" "context" => [ "route" => "_api_/promotion_codes/{id}{._format}_get" "route_parameters" => [ "_controller" => "Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction" "path" => "/api/promotion_codes/post" "permanent" => true "scheme" => null "httpPort" => 80 "httpsPort" => 443 "_route" => "_api_/promotion_codes/{id}{._format}_get" "_format" => null "_stateless" => true "_api_resource_class" => "App\Entity\PromotionCode" "_api_operation_name" => "_api_/promotion_codes/{id}{._format}_get" "id" => "post" ] "request_uri" => "https://www.bo.blacksheep-van.com/api/promotion_codes/post/" "method" => "GET" ] "channel" => "request" ] [ "timestamp" => 1751576078 "timestamp_rfc3339" => "2025-07-03T20:54:38.791+00:00" "message" => "User Deprecated: Version detection logic for MySQL will change in DBAL 4. Please specify the version as the server reports it, e.g. "5.7.40" instead of "5.7". (AbstractMySQLDriver.php:82 called by AbstractDriverMiddleware.php:68, https://github.com/doctrine/dbal/pull/5779, package doctrine/orm)" "priority" => 200 "priorityName" => "INFO" "context" => [ "exception" => ErrorException {#848 #message: "User Deprecated: Version detection logic for MySQL will change in DBAL 4. Please specify the version as the server reports it, e.g. "5.7.40" instead of "5.7". (AbstractMySQLDriver.php:82 called by AbstractDriverMiddleware.php:68, https://github.com/doctrine/dbal/pull/5779, package doctrine/orm)" #code: 0 #file: "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/deprecations/lib/Doctrine/Deprecations/Deprecation.php" #line: 210 #severity: E_USER_DEPRECATED : { { Doctrine\Deprecations\Deprecation::delegateTriggerToBackend(string $message, array $backtrace, string $link, string $package): void … › › |
original_data | ApiPlatform\State\ApiResource\Error {#2050 #message: "An error occurred" #code: 500 #file: "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/ApiResource/Error.php" #line: 125 -previous: Doctrine\DBAL\Driver\PDO\Exception {#1775 …} -title: "An error occurred" -detail: "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'a1_.description' in 'field list'" -status: 500 -instance: null -type: "/errors/500" -headers: [] +originalTrace: [ [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/dbal/src/Connection.php" "line" => 1939 "function" => "convert" "class" => "Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/dbal/src/Connection.php" "line" => 1881 "function" => "handleDriverException" "class" => "Doctrine\DBAL\Connection" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/dbal/src/Connection.php" "line" => 1106 "function" => "convertExceptionDuringQuery" "class" => "Doctrine\DBAL\Connection" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/Query/Exec/SingleSelectExecutor.php" "line" => 33 "function" => "executeQuery" "class" => "Doctrine\DBAL\Connection" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/Query.php" "line" => 327 "function" => "execute" "class" => "Doctrine\ORM\Query\Exec\SingleSelectExecutor" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/AbstractQuery.php" "line" => 1212 "function" => "_doExecute" "class" => "Doctrine\ORM\Query" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/AbstractQuery.php" "line" => 1166 "function" => "executeIgnoreQueryCache" "class" => "Doctrine\ORM\AbstractQuery" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/doctrine/orm/src/AbstractQuery.php" "line" => 953 "function" => "execute" "class" => "Doctrine\ORM\AbstractQuery" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Doctrine/Orm/State/ItemProvider.php" "line" => 87 "function" => "getOneOrNullResult" "class" => "Doctrine\ORM\AbstractQuery" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/CallableProvider.php" "line" => 43 "function" => "provide" "class" => "ApiPlatform\Doctrine\Orm\State\ItemProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/Provider/ReadProvider.php" "line" => 76 "function" => "provide" "class" => "ApiPlatform\State\CallableProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/Validator/State/ParameterValidatorProvider.php" "line" => 87 "function" => "provide" "class" => "ApiPlatform\State\Provider\ReadProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/State/Provider/ParameterProvider.php" "line" => 99 "function" => "provide" "class" => "ApiPlatform\Symfony\Validator\State\ParameterValidatorProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/Bundle/SwaggerUi/SwaggerUiProvider.php" "line" => 50 "function" => "provide" "class" => "ApiPlatform\State\Provider\ParameterProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/Security/State/AccessCheckerProvider.php" "line" => 62 "function" => "provide" "class" => "ApiPlatform\Symfony\Bundle\SwaggerUi\SwaggerUiProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/api-platform/core/src/Symfony/EventListener/ReadListener.php" "line" => 95 "function" => "provide" "class" => "ApiPlatform\Symfony\Security\State\AccessCheckerProvider" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/Debug/WrappedListener.php" "line" => 116 "function" => "onKernelRequest" "class" => "ApiPlatform\Symfony\EventListener\ReadListener" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 220 "function" => "__invoke" "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 56 "function" => "callListeners" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php" "line" => 139 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/http-kernel/HttpKernel.php" "line" => 157 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/http-kernel/HttpKernel.php" "line" => 76 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/http-kernel/Kernel.php" "line" => 197 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php" "line" => 35 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/vendor/autoload_runtime.php" "line" => 29 "function" => "run" "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner" "type" => "->" ] [ "file" => "/opt/bitnami/apache/htdocs/dev_erp/public/index.php" "line" => 5 "function" => "require_once" ] ] : { { ApiPlatform\State\ApiResource\Error::createFromException(Exception|Throwable $exception, int $status): self … › › |
previous_data | null |