POST /consents return status 400 "Invalid delegation object"

1 post / 0 new
ob-dev@nordigen.com
POST /consents return status 400 "Invalid delegation object"

Hello,

I am trying to make a POST request to /consents endpoint with AISP certificates.  I get this error and there is no information in the docs about it.
Could anyone suggest what should I do differently?

POST /sibs/apimarket-sb/BST/v1-0-3/consents?tppRedirectPreferred=true HTTP/1.1

TPP-Transaction-ID: 068c0a24-5be8-45cc-ba4b-99983530edae

TPP-Request-ID: 068c0a24-5be8-45cc-ba4b-99983530edae

PSU-IP-Address: 127.0.0.1

PSU-IP-Port: 8000

PSU-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36

TPP-Redirect-URI: <..redirect uri>

TPP-Delegated-Preferred: false

Signature: keyId="SN=<..qseal sn>,CN=Buypass Class 3 CA 3, O=Buypass AS-983163327, C=NO",algorithm="rsa-sha256",headers="digest tpp-request-id tpp-transaction-id date",signature="ZwFKV5EDawHDlkLmSNflWYClZ8kLPXBpot/y9H4nn8u56urHjXsPd3CAInhvC62ZX8pDtUUWRYPu1xylpJ45WN9xuotMD1ySDdxZNEWp8+uIZepC5xlbXHqeGgUdMCbADmxYwR1JBv1cM2HOVrtIeUOLZb+96cEQa5wdkAavQhaLHXTMIxvYo7uFEMIFs7Yoi8/1MxfkFj7AnWMdtb2f/vZSVypvXkQ/QeGVScEaPt1LzL4v78AiJ0daDYACB9//ULNRxxDDe/xTsWPmyXc87+BBjvqXWxIltpy6lAhp7lH2r/TwJiG5BJnlpM94fAXMPjhN1cC+An6EtxyLYtQEOQ==",created="1614170561"

TPP-Certificate: <..qseal cert>

Date: 2021-02-24T00:00:00Z

Content-Type: application/json

x-ibm-client-id: <..clientId>

Content-Length: 244

Digest: SHA-256=LZg3nmU3IG5lCT/hr4eEO2YpFVAHqRJIMXtChxsqYO4=

 

{
    "access": {
        "accounts": [],
        "balances": [],
        "transactions": []
    },
    "recurringIndicator": true,
    "validUntil": "2021-04-01T00:00:00+00:00",
    "frequencyPerDay": 4,
    "combinedServiceIndicator": false
}

HTTP/1.1 400 Bad Request

X-Backside-Transport: OK OK

Connection: Keep-Alive

Transfer-Encoding: chunked

Content-Type: application/json

Date: 2021-02-24T00:00:00Z

X-Global-Transaction-ID: 720fae0c603649c214bc5951

Accept-Encoding: identity

Via: 1.1 AwAAAO0Dikw-

X-Client-IP: 172.23.170.60

Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID

Access-Control-Allow-Origin: *

Access-Control-Allow-Methods: POST

X-RateLimit-Limit: name=rate-limit-1,200;

X-RateLimit-Remaining: name=rate-limit-1,194;

Strict-Transport-Security: max-age=15552000; includeSubDomains

{
    "transactionStatus": "RJCT",
    "tppMessages": [
        {
            "category": "ERROR",
            "code": "BAD_REQUEST",
            "text": "Invalid delegation object."
        }
    ]
}.

 

Thanks