API error when printing label
-
I have sandbox mode enabled and connection test is successful with sandbox credentials. However when printing label in order management I get this error.
API error: {“status”:502,”title”:”Response405WithoutAllowHeader”,”detail”:”protocol.http.Response405WithoutAllowHeader.”}
And here is log file content:
06-27-2022 @ 13:00:10 – Response: Array
(
[status] => 502
[headers] => Array
(
[Date] => Mon, 27 Jun 2022 10:00:10 GMT
[Content-Type] => application/problem+json
[Content-Length] => 110
[Correlation-Id] => be19931c-e40d-4243-b38c-3b1f0cc99d86
[Content-Language] => en
[Access-Control-Allow-Origin] => *
[Vary] => Origin
[Access-Control-Allow-Methods] => GET,OPTIONS
[Access-Control-Max-Age] => 7200
[Access-Control-Allow-Headers] => Accept-Encoding,Accept-Language,Accept,Authorization,Cache-Control,Content-Language,Content-Length,Content-Type,Correlation-Id,DHL-API-Key,Expires,Host,Last-Modified,Origin,Pragma,Referer,User-Agent,X-Forwarded-For,X-Forwarded-Port,X-Forwarded-Proto,X-Requested-With
[Access-Control-Expose-Headers] => Cache-Control,Content-Encoding,Content-Language,Content-Length,Content-Type,Correlation-Id,Expires,Last-Modified,Pragma,Referrer-Policy,Strict-Transport-Security,Vary,X-Content-Type-Options,X-DNS-Prefetch-Control,X-Frame-Options,X-XSS-Protection
)[body] => {“status”:502,”title”:”Response405WithoutAllowHeader”,”detail”:”protocol.http.Response405WithoutAllowHeader.”}
[cookies] => Array
(
))
- The topic ‘API error when printing label’ is closed to new replies.