Re: Visa Supplier Matching Service Bulk returning status 400

Pallavraj
Regular Visitor

Visa Supplier Matching Service Bulk returning status 400

Hi all,

 

I am getting the following error - status 400 from VisaSupplierMatchingServiceBulk API. 

URL used: https://sandbox.api.visa.com/visasuppliermatchingservice/v1/upload?countryCode=840

 

{
    "statusDescription": "Invalid input found",
    "statusCode": "400"
}
 
I have used country code as 840, US and USA but still same error. Any help would be appreciated.
Thanks
4 REPLIES 4
API_Products
Visa Developer Support Specialist

Re: Visa Supplier Matching Service Bulk returning status 400

Hi @Pallavraj,

 

To investigate the error, please provide us with this information below. 

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

You can find the x-correlation-id in the response header.




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Pallavraj
Regular Visitor

Re: Visa Supplier Matching Service Bulk returning status 400

Hello @API_Products,

 

Thank you for your response. Please find the necessary details as follows.

 

1. End Point-
 
POST /visasuppliermatchingservice/v1/upload?supplierCountryCode=840 HTTP/1.1
Content-Type: application/json
Authorization: Basic QVVYOUkxTjdRM1U0QTM4Sk5JUVAyMWNDMmJ4T0JzcC1mQ1ZMVi1FTEVpT2d5ckptODozZ25Pbng5amV1QVREMjE=
User-Agent: PostmanRuntime/7.36.1
Accept: */*
Cache-Control: no-cache
Postman-Token: f18dd7f6-3ae8-4d5a-8b84-caf807d02840
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 2
 
3. Request Body
{}

4. Response Header (include the x-correlation-id)
 
HTTP/1.1 400 Bad Request
Server: nginx
Date: Fri, 02 Feb 2024 15:12:01 GMT
Content-Type: application/json
Content-Length: 62
Connection: keep-alive
X-SERVED-BY: -7556f69585x
X-CORRELATION-ID: 1706886721_099_1636161257_-7556f69585x_VDP_WS
X-ERROR-ORIGIN: 9900
X-Backside-Transport: FAIL FAIL,FAIL FAIL
X-Global-Transaction-ID: a116ad9565bd06410b249c61
X-APP-STATUS: 400
Cache-Control: no-cache, no-store, must-revalidate
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000;includeSubdomains
Pragma: no-cache
Expires: -1
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;

5. Response Body
{"statusDescription":"Invalid input found","statusCode":"400"}
 
Thanks and Regards
API_Products
Visa Developer Support Specialist

Re: Visa Supplier Matching Service Bulk returning status 400

Hi @Pallavraj,

 

Please refer to the Error Codes page to troubleshoot the error. Try the test again and share your result with us. 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Products
Visa Developer Support Specialist

Re: Visa Supplier Matching Service Bulk returning status 400

Hi @Pallavraj,

 

Is the error fixed? If so, please let me know so I can take you off my contact list. If I don't hear from you in a couple days, I'll take you off my contact list. Feel free to reach out to the community if you have questions. 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.