Thanks for the response @jon2 , I tried the same way as you did in the example, but not sure why I keep getting the Bubble HTTP error: (raw) error response only. Calling the same URI, headers from your demo page all works perfectly tho, not sure why mine is not. Only the response error that has data, it seems like all the other callback combined into it.
Bubble HTTP error: (raw){
“statusCode”: 200,
“body”: “{"status":200,"message":"OK","lastUpdateAt":"2022-03-25 20:01 GMT+0700","session":"valid","data":[{"accountId":"S8vzhyw3owDtYDOB87va==","accountHolder":"John Doe","accountNumber":"987-0675-789","balances":{"available":7500000.0,"current":7500000.0},"currency":null},{"accountId":"S8vzhyw3owDtYDOB87va==","accountHolder":"John Doe","accountNumber":"987-0675-789","balances":{"available":7500000.0,"current":7500000.0},"currency":null}]}”,
“headers”: {
“date”: “Fri, 25 Mar 2022 13:01:55 GMT”,
“content-type”: “application/json”,
“transfer-encoding”: “chunked”,
“connection”: “close”,
“set-cookie”: [
“AWSALB=HsCSvEgGGXRv9ayYJQwsza1IP8AAUNH8/3GkgqPXiI6zUyuZJT1tO+Um27XNOPBYj2p+kQdtBiRdqsX/9q1fQzJPsmY/sETswi6NPhtAuqNawMZ9aM1PCylZk4AI; Expires=Fri, 01 Apr 2022 13:01:55 GMT; Path=/”,
“AWSALBCORS=HsCSvEgGGXRv9ayYJQwsza1IP8AAUNH8/3GkgqPXiI6zUyuZJT1tO+Um27XNOPBYj2p+kQdtBiRdqsX/9q1fQzJPsmY/sETswi6NPhtAuqNawMZ9aM1PCylZk4AI; Expires=Fri, 01 Apr 2022 13:01:55 GMT; Path=/; SameSite=None; Secure”
],
“server”: “nginx/1.20.0”,
“vary”: “Origin, Access-Control-Request-Method, Access-Control-Request-Headers”,
“x-content-type-options”: “nosniff”,
“x-xss-protection”: “1; mode=block”,
“cache-control”: “no-cache, no-store, max-age=0, must-revalidate”,
“pragma”: “no-cache”,
“expires”: “0”,
“strict-transport-security”: “max-age=31536000 ; includeSubDomains”,
“x-frame-options”: “DENY”
},
“request”: {
“uri”: {
“protocol”: “https:”,
“slashes”: true,
“auth”: null,
“host”: “sandbox.onebrick.io”,
“port”: 443,
“hostname”: “sandbox.onebrick.io”,
“hash”: null,
“search”: null,
“query”: null,
“pathname”: “/v1/account/list”,
“path”: “/v1/account/list”,
“href”: “https://sandbox.onebrick.io/v1/account/list”
},
“method”: “GET”,
“headers”: {
“Authorization”: “Bearer access-sandbox-a4931c8f-0954-4e68-8e60-90cf11333dca”
}
}
}