Hi,
Where can we find the clientid for the project? I tried searching in test data but I couldn't find it. Given below is a sample request and response. Please note that the client id below is filled by my randomly, therefore my guess is the forbidden message is due to that.
{
"msgIdentfctn": {
"correlatnId": "12bc567d90f23e56a8f014"
},
"acctInfo": {
"primryAcctNum": {
"pan": "4111111111111111"
}
},
"cardAcceptr": {
"clientId": "0123456789012345678901234567893"
},
"transctn": {
"tranAmt": {
"amt": "62.45"
}
}
}
Response:
{\"msgIdentfctn\":{\"correlatnId\":\"57612529885\",\"reqstId\":\"73B5C9FD2C0147F61D63F4B64AB593D3\"},\"error\":{\"code\":\"403\",\"msg\":\"Forbidden\"}}
Please do let me know what to do in this case.
Solved! Go to Solution
Hey @kranti-rzp,
I’m getting Error 403 – Forbidden. What does this mean and how can I resolve this?
The 403 (Forbidden) HTTP Status code indicates that this project does not have permission to access the requested resource. This can happen if you are trying to invoke API request for a resource that is not part of your project e.g. if you have created a project with Visa Direct Product but are trying to use the same credentials to access Visa Consumer Transaction Controls.
Resolution:
If the issue persists, to investigate, you'll need to provide the following information:
1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body
Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.
For error codes and resolution you can also visit the Support page here - https://developer.visa.com/pages/support