I randomly received an "Unauthorized" response, but after multiple attempts, I got a 200 response, and it worked fine. I'm not sure what the issue is.
this is my request body
curl --location 'https://sandbox.api.visa.com/cofds-web/v1/datainfo' \
--header 'keyId: {keyId} \
--header 'ex-correlation-id: WH1D2K3A9VFG_SC' \
--header 'Authorization: Basic Convert.ToBase64String Encoding.UTF8.GetBytes(userId + ":" + password));
' \
--header 'Content-Type: application/json' \
--data '{
"encData": "eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4R0"
}'
Hi @hassangamal, Thank you for reaching out! An agent will get back to you as soon. Until then, if any community member knows a solution, feel free to reply in this thread.
this is my response
Im getting the same response using Insomnia client.
{
"responseStatus": {
"status": 401,
"code": "9122",
"severity": "ERROR",
"message": "Authentication failed",
"info": ""
}
}