Skip to content

Errormessage gets truncated when adding a package to an authenticated basket #5

@felix-exon

Description

@felix-exon
GuzzleHttp\Exception\ClientException {#1766 ▼ // vendor/tebex/tebex-sdk-php/src/Headless/BasketFacade.php:220
  #message: """
    Client error: `POST https://headless.tebex.io/api/baskets/cvq6dq-8f2a7803cb18b19b46047442691dce87f160da57/packages` resulted in a `400 Bad Request` response:
    {"status":400,"type":"about:blank","title":"There was an error adding the package to your basket","detail":"There are re (truncated...)
    """
  #code: 400
  #file: "
/Users/username/Documents/GitHub/myproject/vendor
/guzzlehttp/guzzle/
src/Exception/RequestException.php
"
  #line: 111
  -request: 
GuzzleHttp\Psr7
\
Request
 {[#1762 ▶](http://localhost:8000/checkout?basket=cvq6dq-8f2a7803cb18b19b46047442691dce87f160da57&success=true#sf-dump-757530553-ref21762)}
  -response: 
GuzzleHttp\Psr7
\
Response
 {[#1752 ▶](http://localhost:8000/checkout?basket=cvq6dq-8f2a7803cb18b19b46047442691dce87f160da57&success=true#sf-dump-757530553-ref21752)}
  -handlerContext: []
  trace: {▶}
}

This makes it unable to guess what the required variables(?) for said package are

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions