GetInvoiceDetails stopped working

michaelastreiko
Contributor
Contributor

We have recently (actually, since around May 1) encountered a recurring issue related to requesting invoices through our integration.

 

POST https://svcs.paypal.com/Invoice/GetInvoiceDetails, payload:
{
    "invoiceID": "XXXXXXX",
    "requestEnvelope": {
        "errorLanguage": "en_US",
        "detailLevel": "ReturnAll"
    }
}

Response:


CompanyId:[redacted]. Code:200, message:OK, headers:[CORRELATION-ID:6c5c37a1a5829, null:HTTP/1.1 200 OK, Strict-Transport-Security:max-age=31536000; includeSubDomains, Paypal-Debug-Id:6c5c37a1a5829, Cache-Control:max-age=0, no-cache, no-store, must-revalidate, Server:nginx, Connection:keep-alive, HTTP_X_PP_AZ_LOCATOR:ccg14.slc, Content-Length:345, Traceparent:00-00000000000000000006c5c37a1a5829-bfed6efc00e6e514-01, Date:Tue, 04 Ju[Removed. Phone #s not permitted]GMT, Content-Type:text/soap+json;charset=UTF-8], body:
{
    "responseEnvelope": {
        "timestamp": "2023-07-04T23:26:46.602+0000",
        "ack": "Failure",
        "correlationId": "6c5c37a1a5829",
    [Removed. Phone #s not permitted]"
    },
    "error": [
        {
            "errorId": 520003,
            "domain": "PLATFORM",
            "subdomain": "Application",
            "severity": "ERROR",
            "category": "APPLICATION",
            "message": "Authentication failed. API credentials are incorrect."
        }
    ]
}

 

It is important to note that we have not made any changes to our integration prior to experiencing this error. Strangely, when we repeat the same API calls after a certain period of time, they are occasionally successful and return the expected data.

Consequently, this error seems to occur randomly and inconsistently. We suspect that there might be an issue with the authentication process or the API credentials, even though we haven't made any modifications on our end.

 

Any ideas?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.