Skip to main content
Published: April 22 2015, 11:57:00 PMUpdated: July 25 2022, 7:31:34 AM

I am using the correct certificate, why am I receiving error code 131?

<?xml version="1.0" encoding="utf-8"?>
<GeteBayOfficialTimeResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2006-08-07T17:43:41.803Z</Timestamp>
<Ack>Failure</Ack>
<Errors>
<ShortMessage>Certificate mismatch.</ShortMessage>
<LongMessage>The provided certificate is invalid.</LongMessage>
<ErrorCode>131</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
<Version>471</Version>
<Build>e471_core_Bundled_3272750_R1</Build>
</GeteBayOfficialTimeResponse>
 

This error indicates that the Developer Certificate in your API Call Header is incorrect, and not valid for the Application Name and Developer Name you are using. To help debug this problem, check the following:

1. Check the value of your 'X-EBAY-API-CERT-NAME' header the the actual HTTP POST you are generating. Make sure it matches to your known Developer Certificate value. If using SOAP, check the <ebl:AuthCert> value in the <ebl:Credentials> node of your SOAP Request.

2. Check how you have specified the Developer Certificate value in your config file, and avoid using double quotes ( ") Some languages, such as PHP will interpret the $ sign in your certificate as a variable when placed within double quotes.
For example,

$CertificateID = "12345678912345-MYCERTXXX-$-FFGG";

would attempt to interpret $-FFGG as a variable name. To avoid this, use single quotes.

$CertificateID = '12345678912345-MYCERTXXX-$-FFGG';

3. Check your environment, and the API Gateway URL you are using. Up to date URLS are listed in the Web Services Documentation:
XML format:   http://developer.ebay.com/Devzone/guides/ebayfeatures/Basics/Call-RoutingRequest.html#HTTPHeaders
SOAP format: http://developer.ebay.com/Devzone/guides/ebayfeatures/Basics/Call-RoutingRequest.html#SOAPURLParameters

4. If you are not sure if the Developer Certificate ID you have, is correct, look up your Sandbox and Production Keys, on this page:
http://developer.ebay.com/DevZone/account/keys.asp

 

 

How well did this answer your question?
Answers others found helpful

Got thoughts? Click the feedback button – your insights help us improve!