HSBC Business: tokens fail to be refreshed

Description

I hope you’re well.
We have been experiencing some issues when trying to refresh tokens with both our HSBC and HSBC Business connectors. We are either getting one of the errors:
Error: 403 - {"description":"Forbidden"}
Error: 403 - {"error_code":"invalid_grant"}

Here’s some fapiInteractionIds that might help the investigation on your side:
47ee5272-3d3c-4094-8bc9-3844725eb179
558a2b82-bede-4571-97ae-e770e7fbfde4
39ae7b01-2384-433e-bea3-4e730db9950c
4feb1bae-d283-4da5-8462-9c7c9701500e
a3901025-2f48-4fca-b293-e6751f5b4cd5

These are the endpoints we use:

https://private.api.business.hsbc.com/open-banking/v1.1/token - HSBC Business
https://private.api.hsbc.com/open-banking/v1.1/token - HSBC

And here's the method we use to refresh tokens:
const headers: Headers = { "authorization": `Basic <redacted>`,
"content-type": "application/x-www-form-urlencoded",
"x-fapi-interaction-id": fapiInteractionId,
"x-fapi-financial-id": "00158000016i44JAAQ"
};

const options: Options = {
url: "https://private.api.business.hsbc.com/open-banking/v1.1/token",
method: "POST",
form: {
grant_type: "refresh_token",
refresh_token: refreshToken,
id_token: idToken
},
json: true,
headers,
};

Here are the fapiIntercation IDs with their timestamps:
47ee5272-3d3c-4094-8bc9-3844725eb179
July 9th 2019, 11:45:28.429

558a2b82-bede-4571-97ae-e770e7fbfde4
July 9th 2019, 11:45:28.145

4feb1bae-d283-4da5-8462-9c7c9701500e
July 9th 2019, 11:35:25.470

a3901025-2f48-4fca-b293-e6751f5b4cd5
July 9th 2019, 09:41:15.221

Could you please have a look at this as soon as possible? We have 116 clients with the error at the moment that can’t refresh any data.

Thank s a lot for your support,

Technical Impact

None

Workaround

None

Resolution Notes

None

Impact Assessment

None

Status

Assignee

Unassigned

Reporter

Service Desk

Reference

None

Service Desk Reference

OBSD-9701

ASPSP

Query Type

None

TPP Impact

None

TPP

OB Environment

Production

Business Impact Severity

None

Share

Yes
Configure