Re: Visasuppliermathcingservice API

sunil_patil
New Contributor

Visasuppliermathcingservice API

Hi,

On make curl request to /visasuppliermatchingservice/v1/search. I always get 404 error.

Request

curl -X POST 'https://sandbox.api.visa.com/visasuppliermatchingservice/v1/search?supplierName=supplier1&supplierCo...' -d "{}" -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Authorization: Basic QkU3SjU2VDlGVTVOWTIwSzQ0Q0kyMWJSV1ZtTFBtQl9DZThYbGhKdlU0SlFOM3RRODp4QkhzV0V0SzNweTA4OVAwQnN6NGha' --cert vdpcert.pem --key vdpprivate.pem

Response

{"statusDescription":"Requested route not found","statusCode":"404"}

Any clues pls 

 

12 REPLIES 12
jenn_kh
Community Moderator

Re: Visasuppliermathcingservice API

Hi, @sunil_patil! Thank you for reaching out. An agent is looking into this and will get back to you soon. If any community members have information that may help, feel free to respond to this thread.

sunil_patil
New Contributor

Re: Visasuppliermathcingservice API

Hi,

Any help here would be appreciated as I am stuck and not able to proceed further.

Trace Logs of the request is given below:

POST /visasuppliermatchingservice/v1/search?supplierName=supplier1&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: 4ea78649-0661-4d0e-8181-beebb57ae202
Host: sandbox.api.visa.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 28
 
{"supplierName":"supplier1"}
 
HTTP/1.1 404 Not Found
Server: nginx
Date: Fri, 02 Feb 2024 05:07:57 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 68
Connection: keep-alive
X-SERVED-BY: -645f7b454
X-CORRELATION-ID: 1706850476_932_835921618_-645f7b454_VDP_WS
X-ERROR-ORIGIN: 9900
X-Backside-Transport: FAIL FAIL,FAIL FAIL
X-Global-Transaction-ID: a116ad9565bc78ad09a558b3
X-APP-STATUS: 404
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;
 
{"statusDescription":"Requested route not found","statusCode":"404"}
API_Products
Visa Developer Support Specialist

Re: Visasuppliermathcingservice API

Hi @sunil_patil,

 

Please provide the information below for investigation:

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.

sunil_patil
New Contributor

Re: Visasuppliermathcingservice API

Hi Diana,

1. Endpoint

https://sandbox.api.visa.com/visasuppliermatchingservice/v1/search?supplierName=supplier1&supplierCo...

2. Request Headers

POST /visasuppliermatchingservice/v1/search?supplierName=supplier1&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: 31300eec-5047-4919-9cff-0b978c3cd53c
Host: sandbox.api.visa.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 2
3. Request Body
{}
4. Response headers
HTTP/1.1 404 Not Found
Server: nginx
Date: Fri, 09 Feb 2024 02:42:25 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 68
Connection: keep-alive
X-SERVED-BY: -7556f69585x
X-CORRELATION-ID: 1707446545_575_1137808187_-7556f69585x_VDP_WS
X-ERROR-ORIGIN: 9900
X-Backside-Transport: FAIL FAIL,FAIL FAIL
X-Global-Transaction-ID: a116ad9565c5911114431272
X-APP-STATUS: 404
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;
4. Response Body
{"statusDescription":"Requested route not found","statusCode":"404"}
API_Products
Visa Developer Support Specialist

Re: Visasuppliermathcingservice API

Hi @sunil_patil,

 

Please refer to the Error Codes page to see the cause and resolution of the error. Please try to test again and share your result with us. If you're still experiencing an error, let us know so I can log an incident for our engineering team to investigate. 




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.

sunil_patil
New Contributor

Re: Visasuppliermathcingservice API

Hi Diana,

1. Error Code : 404 as per Error&Response link means project is not hitting the right endpoint.

2. I am hitting the endpoint as per api reference documentation.

https://sandbox.api.visa.com/visasuppliermatchingservice/v1

3. Please guide me where I am going wrong by sending me the correct way to call the API. (I have tried calling it as mentioned in reference documentation)

4. I still get the same result Trace of request / response is given below

POST /visasuppliermatchingservice/v1/search HTTP/1.1
Authorization: Basic QVVYOUkxTjdRM1U0QTM4Sk5JUVAyMWNDMmJ4T0JzcC1mQ1ZMVi1FTEVpT2d5ckptODozZ25Pbng5amV1QVREMjE=
User-Agent: PostmanRuntime/7.36.1
Accept: */*
Cache-Control: no-cache
Postman-Token: 7a9c1396-0ca2-4d13-aabf-319cc6fa4c2b
Host: sandbox.api.visa.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 46
 
supplierName=supplier1&supplierCountryCode=840
 
HTTP/1.1 404 Not Found
Server: nginx
Date: Sun, 11 Feb 2024 13:25:12 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 68
Connection: keep-alive
X-SERVED-BY: -7556f69585l46l
X-CORRELATION-ID: 1707657912_323_58245886_-7556f69585l46l_VDP_WS
X-ERROR-ORIGIN: 9900
X-Backside-Transport: FAIL FAIL,FAIL FAIL
X-Global-Transaction-ID: a116ad9565c8cab8159752a2
X-APP-STATUS: 404
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;
 
{"statusDescription":"Requested route not found","statusCode":"404"}

 

API_Products
Visa Developer Support Specialist

Re: Visasuppliermathcingservice API

Hi @sunil_patil,

 

Thanks for providing this information. I've logged incident INC17772198 for the engineering team to investigate the error. We'll get back soon. 




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: Visasuppliermathcingservice API

Hi @sunil_patil,

 

After further investigation, it was backend failures with no impact at the Visa Developer Portal end. Please try you test again and let us know if there's any further errors. 




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.

sunil_patil
New Contributor

Re: Visasuppliermathcingservice API

Hi,

I am still getting 404, Requested Route Not Found on invoking Visa Supplier Matching Service API

POST /visasuppliermatchingservice/v1/search?supplierName=supplier1&supplierCountryCode=840 HTTP/1.1
Content-Type: application/json
Authorization: Basic QVVYOUkxTjdRM1U0QTM4Sk5JUVAyMWNDMmJ4T0JzcC1mQ1ZMVi1FTEVpT2d5ckptODozZ25Pbng5amV1QVREMjE=
User-Agent: PostmanRuntime/7.36.3
Accept: */*
Cache-Control: no-cache
Postman-Token: db7e8519-398d-452f-acc3-85c9dac36192
Host: sandbox.api.visa.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 2
 
{}
 
HTTP/1.1 404 Not Found
Server: nginx
Date: Tue, 27 Feb 2024 04:36:11 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 68
Connection: keep-alive
X-SERVED-BY: -5b54b9f6-8z9
X-CORRELATION-ID: 1709008571_428_1488403667_-5b54b9f6-8z9_VDP_WS
X-ERROR-ORIGIN: 9900
X-Backside-Transport: FAIL FAIL,FAIL FAIL
X-Global-Transaction-ID: a116ad9565dd66bb03667bd7
X-APP-STATUS: 404
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;
 
{"statusDescription":"Requested route not found","statusCode":"404"}