Hi,
I'm trying to test Token Service PAN enrollment request but without success. I'm getting 400 response with a message "invalid parameter" at the location "X-SERVICE-CONTEXT" but I'm unable to find any info in the documentation regarding this issue.
I'd really appreciate your help on this!
Dushan
Complete reponse:
Response status : HTTP/1.1 400 Bad Request
Response Headers:
X-SERVED-BY:l73c008
X-CORRELATION-ID:ySpDzPun42_SC
X-APP-STATUS:400
X-Frame-Options:SAMEORIGIN
X-XSS-Protection:1; mode=block
X-Content-Type-Options:nosniff
Strict-Transport-Security:max-age=2592000;includeSubdomains
Cache-Control:no-cache, no-store, must-revalidate
Pragma:no-cache
Expires:Thu, 01 Jan 1970 00:00:00 GMT
Content-Security-Policy-Report-Only:default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com
https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-Content-Security-Policy-Report-Only:default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com
https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-WebKit-CSP-Report-Only:default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com
https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
Content-Type:application/json;charset=UTF-8
Content-Length:163
X-Cnection:close
Date:Mon, 12 Dec 2016 03:26:45 GMT
Connection:close
VisaAPIClient:177 -
Response Body:
2016-12-12 11:26:45 INFO VisaAPIClient:184 - ResponseBody: {
"errorResponse" : {
"status" : 400,
"message" : "Missing a required header or assertion field.",
"reason" : "invalidParameter",
"details" : [ {
"location" : "X-SERVICE-CONTEXT"
} ]
}
}