getting Authorization Failed for the URL error

ganeshg17
Newbie

getting Authorization Failed for the URL error

Cybersource Payments Test
Request Body : {
    "orderInformation": {
        "billTo": {
            "country": "US",
            "lastName": "VDP",
            "address2": "Address 2",
            "address1": "201 S. Division St.",
            "postalCode": "48104-2201",
            "locality": "Ann Arbor",
            "administrativeArea": "MI",
            "firstName": "RTS",
            "phoneNumber": "999999999",
            "district": "MI",
            "buildingNumber": "123",
            "company": "Visa",
            "email": "test@cybs.com"
        },
        "amountDetails": {
            "totalAmount": "102.21",
            "currency": "USD"
        }
    },
    "paymentInformation": {
        "card": {
            "expirationYear": "2031",
            "number": "5555555555554444",
            "securityCode": "123",
            "expirationMonth": "12"
        }
    }
}
Response Status: 403
HTTP/1.1 403 Forbidden
Server: Apache
X-SERVED-BY: l55c003
X-CORRELATION-ID: 1524115729_489_87_l55c003_VDP_ARM
X-APP-STATUS: 403
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=2592000;includeSubdomains
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: -1
Content-Type: application/json;charset=UTF-8
Content-Length: 122
Date: Thu, 19 Apr 2018 05:28:49 GMT
Connection: close

Response Body : {
    "responseStatus": {
        "code": "9611",
        "severity": "ERROR",
        "info": "",
        "status": 403,
        "message": "Authorization Failed for the URL."
    }
}
2 REPLIES 2
vkamboj
Community Moderator

Re: getting Authorization Failed for the URL error

Hi @ganeshg17

 

Can you please confirm that you have updated to CyberSourcec API v2. The error message you have received usually occurs when incorrect certificate and credentials have been supplied or when the private key is not provided. Please make sure you have provided correct certificate and credentials. 

 

Please let me know if you have any questions. 

 

Thank you, 

Vaibhav 

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: getting Authorization Failed for the URL error

Hey @ganeshg17,

 

Are you still experiencing an issue with the CyberSource?

 

To further investigate, please 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.

 




Thanks,

Diana H.



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