'Certificate mismatch.' after Singing into sandbox for generate User Token
Hi, I have a probem with generating my User Token in sandbox. After i click button 'Sign in to Sandbox' I get message information about "Certificate mismatch." User Token for production is generating without problems and working in app. What can be a couse?
HI @sebawoj, 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 value in the 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 Regards, eBay Developers Support