Hi @sunil_patil,
Please refer to this community forum post for the solution and try again.
I am facing the same issue.
1. End Point - POST https://sandbox.api.visa.com/visasuppliermatchingservice/v1/search
2. Request Header -
3. Request Body -
{}
4. Response Header (include the x-correlation-id) -
5. Response Body -
{"statusDescription":"Requested route not found","statusCode":"404"}
Hey @junkangli,
The error you are encountering is a 404 Not Found error, which indicates that the requested endpoint is not recognized by the server. This typically means that the URL you are trying to access is incorrect or the endpoint does not exist. Here are some steps to troubleshoot and resolve this issue:
1. Verify the Endpoint URL:
Ensure that the endpoint URL is correct. The endpoint URL you provided is:
```
https://sandbox.api.visa.com/visasuppliermatchingservice/v1/search
```
2. Check API Documentation:
Review the API documentation on the Visa Developer portal to confirm that the endpoint URL, request headers, and request body are correct and properly formatted.
3. Authentication:
Make sure that your Authorization header contains valid credentials. It should be in the format:
```
Authorization: Basic <Base64_encoded_credentials>
```
4. Content-Length Header:
Ensure that the Content-Length header accurately reflects the size of the request body. In your example, it is set to 2, which may be incorrect if the body is empty.
5. Request Method:
Confirm that the HTTP method (POST) is appropriate for the endpoint you are calling.