We're updating the issue view to help you get more done. 

NotAcceptable error when using Payments v1.1 with Natwest

Description

Hi,

When I call the Payments (v1.1) endpoint for natwest I receive a 406 (Not Acceptable) code. Below are the relevant logs from my system:

2019-08-06 13:43:58.179 +01:00 [INF] Start processing HTTP request POST "https://api.natwest.com/open-banking/v1.1/payments"
2019-08-06 13:43:58.181 +01:00 [VRB] Request Headers:
Authorization: Bearer bfWKmcoFCbkFMmlnDbNBVIAQoZOp
x-idempotency-key: d78305bc9a5a4db4a1e58dab35c97b2f
x-fapi-financial-id: 0015800000jfwxXAAQ
x-fapi-customer-last-logged-time: Tue, 06 Aug 2019 10:43:58 GMT
x-fapi-customer-ip-address: 127.0.0.1
x-fapi-interaction-id: 87851c00-07e7-4de8-ae81-b8aec93138f3
Content-Type: application/json

2019-08-06 13:43:58.184 +01:00 [INF] Sending HTTP request POST "https://api.natwest.com/open-banking/v1.1/payments"
2019-08-06 13:43:58.186 +01:00 [VRB] Request Headers:
Authorization: Bearer bfWKmcoFCbkFMmlnDbNBVIAQoZOp
x-idempotency-key: d78305bc9a5a4db4a1e58dab35c97b2f
x-fapi-financial-id: 0015800000jfwxXAAQ
x-fapi-customer-last-logged-time: Tue, 06 Aug 2019 10:43:58 GMT
x-fapi-customer-ip-address: 127.0.0.1
x-fapi-interaction-id: 87851c00-07e7-4de8-ae81-b8aec93138f3
Content-Type: application/json

2019-08-06 13:43:58.187 +01:00 [INF] Request:
2019-08-06 13:43:58.188 +01:00 [INF] Method: POST, RequestUri: 'https://api.natwest.com/open-banking/v1.1/payments', Version: 2.0, Content: System.Net.Http.StringContent, Headers:
{
Authorization: Bearer bfWKmcoFCbkFMmlnDbNBVIAQoZOp
x-idempotency-key: d78305bc9a5a4db4a1e58dab35c97b2f
x-fapi-financial-id: 0015800000jfwxXAAQ
x-fapi-customer-last-logged-time: Tue, 06 Aug 2019 10:43:58 GMT
x-fapi-customer-ip-address: 127.0.0.1
x-fapi-interaction-id: 87851c00-07e7-4de8-ae81-b8aec93138f3
Content-Type: application/json
}
2019-08-06 13:43:58.190 +01:00 [INF] {"Risk":{"PaymentContextCode":"PersonToPerson"},"Data":{"Initiation":{"InstructionIdentification":"705769ee84174d268a81707bf2783a8a","EndToEndIdentification":"d78305bc9a5a4db4a1e58dab35c97b2f","InstructedAmount":{"Amount":"5.00","Currency":"GBP"},"CreditorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"60201836666742","Name":"Jacob Salter"},"RemittanceInformation":{"Reference":"first payment"}}}
2019-08-06 13:43:58.327 +01:00 [INF] Response:
2019-08-06 13:43:58.330 +01:00 [INF] StatusCode: 406, ReasonPhrase: 'Not Acceptable', Version: 1.1, Content: System.Net.Http.HttpConnection+HttpConnectionResponseContent, Headers:
{
Date: Tue, 06 Aug 2019 12:43:57 GMT
Server:
Set-Cookie: f5avrbbbbbbbbbbbbbbbb=GDJJBGPCPEALCKJHCGIAJCMCNMEGFEDBACLNNAODFJJDGIIJNIAJIEFIALCFOMEOBAEDKMMJDFNPMKALIHHABNLPMHCKHOEEPEEMECPKLINBAFIABBLKFBCFMFKLCPPF; HttpOnly; secure
Content-Type: text/plain; charset=UTF-8
Content-Length: 44
}
2019-08-06 13:43:58.375 +01:00 [INF] Not Acceptable () (0000016a0c801af0-3111463)
2019-08-06 13:43:58.377 +01:00 [INF] Received HTTP response after 193.1198ms - "NotAcceptable"
2019-08-06 13:43:58.391 +01:00 [VRB] Response Headers:
Date: Tue, 06 Aug 2019 12:43:57 GMT
Server:
Set-Cookie: f5avrbbbbbbbbbbbbbbbb=GDJJBGPCPEALCKJHCGIAJCMCNMEGFEDBACLNNAODFJJDGIIJNIAJIEFIALCFOMEOBAEDKMMJDFNPMKALIHHABNLPMHCKHOEEPEEMECPKLINBAFIABBLKFBCFMFKLCPPF; HttpOnly; secure
Content-Type: text/plain; charset=UTF-8
Content-Length: 44

2019-08-06 13:43:58.400 +01:00 [INF] End processing HTTP request after 220.98160000000001ms - "NotAcceptable"
2019-08-06 13:43:58.404 +01:00 [VRB] Response Headers:
Date: Tue, 06 Aug 2019 12:43:57 GMT
Server:
Set-Cookie: f5avrbbbbbbbbbbbbbbbb=GDJJBGPCPEALCKJHCGIAJCMCNMEGFEDBACLNNAODFJJDGIIJNIAJIEFIALCFOMEOBAEDKMMJDFNPMKALIHHABNLPMHCKHOEEPEEMECPKLINBAFIABBLKFBCFMFKLCPPF; HttpOnly; secure
Content-Type: text/plain; charset=UTF-8
Content-Length: 44

Technical Impact

None

Workaround

None

Resolution Notes

None

Impact Assessment

None

Status

Assignee

Unassigned

Reporter

Beejal Nagar

Reference

None

Service Desk Reference

OBSD-10120

ASPSP

Query Type

Read/Write

TPP Impact

High

Business Impact Severity

None

Share

Yes