question

sebawoj avatar image
0 Likes"
sebawoj asked ·

'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?
user tokencertificationsandbox-token
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
ankit_developersupport avatar image
0 Likes"
ankit_developersupport answered ·
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
·
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.