Internal Server Error when calling Payment endpoint for Barclays

Description

Hi,

When I call the Barclays v1.1 Payment endpoint receive a 500 status code (Internal Server Error). Below are the logs from my system:

2019-08-06 13:21:44.430 +01:00 [INF] Start processing HTTP request POST "https://elara.api.barclays/open-banking/v1.1/payments"
2019-08-06 13:21:44.432 +01:00 [VRB] Request Headers:
Authorization: Bearer eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIiwiY3R5IjoiSldUIn0..2PB8FTbdMdfLNZn0.9jpFIt4BShxgl84R9G37lvq6ogfXR0vQw1qmR5dvC7noHRdFD6ozu70mesycs84xwvQphOl8zpfiou5AOCnpRe_b2OmcGGakdwUpBVaM2P6xiNE_27m4MTbcFz5Hg93nQWTUryPbzAuenx7B_iNewT-PmcGILJoeSoEIyUgkKIq9bndA1N6w3EeKbkuu3TUmfnRdCPEVQcdN_4O56J8NZxMNVlo1AXuwFq2bv8utEo6qJebHgGylpTXoLgo9p6l79qHwk6SK0u2xto80HwAM_nbiICdSxSbYNFNnDFHCyWnWkO-Wa2SvhGhniXu2KApSSvzMF6yKPZuZpSnJMERhzw4Jjr9VoQ3_SFl_dgcj53D5f7rb1MxZDOLwm4x6lu-sJh5FTBIaw9Y-cHptkP6lev7z714wIZabwKW3Q4TS1-pfOENis_MwV1S7jx4I2d5e5Uf3GaxYLiKr7iWRFRykxO91Ch-BmbTaVXMmfV17cttQWxbR1mZ0u2sB1ahSIhy4A9P4619rnsw2BAW8L4Sm2_H1tP9kv_bhzoJqcm3b7lgzeGF4oj1Fgh8htsf1xLqimKQWyzp9wi0Gnq8s5vE8crjqquye0ERmc9Tw6lqf8l2DqcmVDK9uq1Z0EDtqFwooFFlztt_pK45ozq9CnPaNgr7VSGfYx9w9tkmqrHkzBlj59sMHuHMWbZXnfuRG4fUpVqrOHpFQrMIeteu3q_rAQZk9uW4fY9wnkneR88mzUINxcF1jKiUEYFTnR53FoaNUS_o2oxsfLJ844GUekz2h8lDFFQvWZV8tzhUKiQkR2fpDZd8nLm7e5iYpPKqdr4kwnGorykzimZvQRz_M4zG5OGHYV6HZsDJ16oChHJzcQhTcj3eqloAroPLpMwPLiPNgVf0Q58Z3OMdZJOgDEtnoe31jyAKtWU77A0-uGMCOYaAZ74JZKshUUhZmORsik5IbUvbMbum_ZXLdBYj5nI57fyOsgyZTODx4GzWLNtSomj_QZ_KNnA2N628.B-ceNMDtq3KMw6Qqr3eU8Q
x-idempotency-key: 814b00787ee84e89a6ec917187d2d116
x-fapi-financial-id: 0015800000jfAW1AAM
x-fapi-customer-last-logged-time: Tue, 06 Aug 2019 10:21:44 GMT
x-fapi-customer-ip-address: 127.0.0.1
x-fapi-interaction-id: 731a25ae-544a-47b0-aa7d-d07f25236d02
Content-Type: application/json

2019-08-06 13:21:44.451 +01:00 [INF] Sending HTTP request POST "https://elara.api.barclays/open-banking/v1.1/payments"
2019-08-06 13:21:44.454 +01:00 [VRB] Request Headers:
Authorization: Bearer eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIiwiY3R5IjoiSldUIn0..2PB8FTbdMdfLNZn0.9jpFIt4BShxgl84R9G37lvq6ogfXR0vQw1qmR5dvC7noHRdFD6ozu70mesycs84xwvQphOl8zpfiou5AOCnpRe_b2OmcGGakdwUpBVaM2P6xiNE_27m4MTbcFz5Hg93nQWTUryPbzAuenx7B_iNewT-PmcGILJoeSoEIyUgkKIq9bndA1N6w3EeKbkuu3TUmfnRdCPEVQcdN_4O56J8NZxMNVlo1AXuwFq2bv8utEo6qJebHgGylpTXoLgo9p6l79qHwk6SK0u2xto80HwAM_nbiICdSxSbYNFNnDFHCyWnWkO-Wa2SvhGhniXu2KApSSvzMF6yKPZuZpSnJMERhzw4Jjr9VoQ3_SFl_dgcj53D5f7rb1MxZDOLwm4x6lu-sJh5FTBIaw9Y-cHptkP6lev7z714wIZabwKW3Q4TS1-pfOENis_MwV1S7jx4I2d5e5Uf3GaxYLiKr7iWRFRykxO91Ch-BmbTaVXMmfV17cttQWxbR1mZ0u2sB1ahSIhy4A9P4619rnsw2BAW8L4Sm2_H1tP9kv_bhzoJqcm3b7lgzeGF4oj1Fgh8htsf1xLqimKQWyzp9wi0Gnq8s5vE8crjqquye0ERmc9Tw6lqf8l2DqcmVDK9uq1Z0EDtqFwooFFlztt_pK45ozq9CnPaNgr7VSGfYx9w9tkmqrHkzBlj59sMHuHMWbZXnfuRG4fUpVqrOHpFQrMIeteu3q_rAQZk9uW4fY9wnkneR88mzUINxcF1jKiUEYFTnR53FoaNUS_o2oxsfLJ844GUekz2h8lDFFQvWZV8tzhUKiQkR2fpDZd8nLm7e5iYpPKqdr4kwnGorykzimZvQRz_M4zG5OGHYV6HZsDJ16oChHJzcQhTcj3eqloAroPLpMwPLiPNgVf0Q58Z3OMdZJOgDEtnoe31jyAKtWU77A0-uGMCOYaAZ74JZKshUUhZmORsik5IbUvbMbum_ZXLdBYj5nI57fyOsgyZTODx4GzWLNtSomj_QZ_KNnA2N628.B-ceNMDtq3KMw6Qqr3eU8Q
x-idempotency-key: 814b00787ee84e89a6ec917187d2d116
x-fapi-financial-id: 0015800000jfAW1AAM
x-fapi-customer-last-logged-time: Tue, 06 Aug 2019 10:21:44 GMT
x-fapi-customer-ip-address: 127.0.0.1
x-fapi-interaction-id: 731a25ae-544a-47b0-aa7d-d07f25236d02
Content-Type: application/json

2019-08-06 13:21:44.466 +01:00 [INF] Request:
2019-08-06 13:21:44.467 +01:00 [INF] Method: POST, RequestUri: 'https://elara.api.barclays/open-banking/v1.1/payments', Version: 2.0, Content: System.Net.Http.StringContent, Headers:
{
Authorization: Bearer eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIiwiY3R5IjoiSldUIn0..2PB8FTbdMdfLNZn0.9jpFIt4BShxgl84R9G37lvq6ogfXR0vQw1qmR5dvC7noHRdFD6ozu70mesycs84xwvQphOl8zpfiou5AOCnpRe_b2OmcGGakdwUpBVaM2P6xiNE_27m4MTbcFz5Hg93nQWTUryPbzAuenx7B_iNewT-PmcGILJoeSoEIyUgkKIq9bndA1N6w3EeKbkuu3TUmfnRdCPEVQcdN_4O56J8NZxMNVlo1AXuwFq2bv8utEo6qJebHgGylpTXoLgo9p6l79qHwk6SK0u2xto80HwAM_nbiICdSxSbYNFNnDFHCyWnWkO-Wa2SvhGhniXu2KApSSvzMF6yKPZuZpSnJMERhzw4Jjr9VoQ3_SFl_dgcj53D5f7rb1MxZDOLwm4x6lu-sJh5FTBIaw9Y-cHptkP6lev7z714wIZabwKW3Q4TS1-pfOENis_MwV1S7jx4I2d5e5Uf3GaxYLiKr7iWRFRykxO91Ch-BmbTaVXMmfV17cttQWxbR1mZ0u2sB1ahSIhy4A9P4619rnsw2BAW8L4Sm2_H1tP9kv_bhzoJqcm3b7lgzeGF4oj1Fgh8htsf1xLqimKQWyzp9wi0Gnq8s5vE8crjqquye0ERmc9Tw6lqf8l2DqcmVDK9uq1Z0EDtqFwooFFlztt_pK45ozq9CnPaNgr7VSGfYx9w9tkmqrHkzBlj59sMHuHMWbZXnfuRG4fUpVqrOHpFQrMIeteu3q_rAQZk9uW4fY9wnkneR88mzUINxcF1jKiUEYFTnR53FoaNUS_o2oxsfLJ844GUekz2h8lDFFQvWZV8tzhUKiQkR2fpDZd8nLm7e5iYpPKqdr4kwnGorykzimZvQRz_M4zG5OGHYV6HZsDJ16oChHJzcQhTcj3eqloAroPLpMwPLiPNgVf0Q58Z3OMdZJOgDEtnoe31jyAKtWU77A0-uGMCOYaAZ74JZKshUUhZmORsik5IbUvbMbum_ZXLdBYj5nI57fyOsgyZTODx4GzWLNtSomj_QZ_KNnA2N628.B-ceNMDtq3KMw6Qqr3eU8Q
x-idempotency-key: 814b00787ee84e89a6ec917187d2d116
x-fapi-financial-id: 0015800000jfAW1AAM
x-fapi-customer-last-logged-time: Tue, 06 Aug 2019 10:21:44 GMT
x-fapi-customer-ip-address: 127.0.0.1
x-fapi-interaction-id: 731a25ae-544a-47b0-aa7d-d07f25236d02
Content-Type: application/json
}
2019-08-06 13:21:44.476 +01:00 [INF] {"Risk":{"PaymentContextCode":"PersonToPerson"},"Data":{"Initiation":{"InstructionIdentification":"d1ed366eaf9746c7af775b88bbb5b674","EndToEndIdentification":"814b00787ee84e89a6ec917187d2d116","InstructedAmount":{"Amount":"5.00","Currency":"GBP"},"CreditorAccount":{"SchemeName":"SortCodeAccountNumber","Identification":"60201836666742","Name":"Jacob Salter"},"RemittanceInformation":{"Reference":"first payment"}}}
2019-08-06 13:21:45.113 +01:00 [INF] Response:
2019-08-06 13:21:45.114 +01:00 [INF] StatusCode: 500, ReasonPhrase: 'Server Error', Version: 1.1, Content: System.Net.Http.HttpConnection+HttpConnectionResponseContent, Headers:
{
Connection: keep-alive
Keep-Alive: timeout=30
Date: Tue, 06 Aug 2019 12:21:44 GMT
x-fapi-interaction-id: 731a25ae-544a-47b0-aa7d-d07f25236d02
Set-Cookie: GEAR=local-5a5646f9bc51776afd00052c;path=/; Secure
Content-Type: text/html; charset=UTF-8
Content-Length: 1042
}
2019-08-06 13:21:45.119 +01:00 [INF] <html><head><title>JBWEB000065: HTTP Status 500 - </title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>JBWEB000065: HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>JBWEB000309: type</b> JBWEB000067: Status report</p><p><b>JBWEB000068: message</b> <u></u></p><p><b>JBWEB000069: description</b> <u>JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.</u></p><HR size="1" noshade="noshade"></body></html>
2019-08-06 13:21:45.123 +01:00 [INF] Received HTTP response after 671.4792ms - "InternalServerError"
2019-08-06 13:21:45.126 +01:00 [VRB] Response Headers:
Connection: keep-alive
Keep-Alive: timeout=30
Date: Tue, 06 Aug 2019 12:21:44 GMT
x-fapi-interaction-id: 731a25ae-544a-47b0-aa7d-d07f25236d02
Set-Cookie: GEAR=local-5a5646f9bc51776afd00052c;path=/; Secure
Content-Type: text/html; charset=UTF-8
Content-Length: 1042

2019-08-06 13:21:45.128 +01:00 [INF] End processing HTTP request after 698.211ms - "InternalServerError"
2019-08-06 13:21:45.130 +01:00 [VRB] Response Headers:
Connection: keep-alive
Keep-Alive: timeout=30
Date: Tue, 06 Aug 2019 12:21:44 GMT
x-fapi-interaction-id: 731a25ae-544a-47b0-aa7d-d07f25236d02
Set-Cookie: GEAR=local-5a5646f9bc51776afd00052c;path=/; Secure
Content-Type: text/html; charset=UTF-8
Content-Length: 1042

Technical Impact

None

Workaround

None

Resolution Notes

None

Impact Assessment

None

Status

Assignee

Unassigned

Reporter

Beejal Nagar

Reference

None

Service Desk Reference

OBSD-10119

ASPSP

Query Type

Read/Write

Created (Original)

None

TPP Impact

High

OB Environment

None

Business Impact Severity

None

Share

Yes
Configure