title: GETCHALLENGE issue(6D00) in EMV for MasterCard
body: <p>In the case of GETCHALLENGE Request (0084000000) in EMV, we are getting the positive response for VISA\DEBIT card, but for MASTERCARD we are getting the response as 6D00 (Instruction code not supported or invalid).</p>
  
  <p>Here are the sequence of commands that are being executed prior to callling the Get Challenge in the case of MasterCard. The CDOL as you can see has the tag for ICC Dynamic number and when the call for getting the dynamic number by executing the get Challenge command, I get Instruction code not supported error message.</p>
  
  <p>Answer To Reset</p>
  
  <p>Response: 3b6d00000031c071d66419160100849000 Select Payment System Directory</p>
  
  <p>Request : 00A404000E315041592E5359532E444446303100</p>
  
  <p>Response : 6f1a840e315041592e5359532e4444463031a5088801015f2d02656e9000</p>
  
  <p>Read Data</p>
  
  <p>Request : 00B2010c00</p>
  
  <p>Response : 701a61184f07a0000000041010500a4d6173746572436172648701019000</p>
  
  <p>Select application</p>
  
  <p>Request : 00A4040007a000000004101000</p>
  
  <p>Response : 6f278407a0000000041010a51c500a4d6173746572436172648701015f2d02656ebf0c059f4d020b0a9000</p>
  
  <p>Get Processing Options</p>
  
  <p>Request : 80A8000002830000</p>
  
  <p>Response : 770a820238009404100105019000</p>
  
  <p>Internal Authenticate</p>
  
  <p>Request : 0088000004E153F3E800</p>
  
  <p>Response : 77539f4b508464f182032bd432f415ec7ddaa3e601526a2b860fcc9785475f8f45f095186e3658bc0a55bceb2d4c22fbded8af82bd81338e38961c5d000dd5a8f99d3ec0c774648534a2b362b55d4b9ee13f2043739000</p>
  
  <p>Read data 
  Request : 00B2011400</p>
  
  <p>Response : 7081835f25031402015f24031703315a08XXXXXXXXXXXXXXXX5f3401019f0702ff008e10000000000000000042015e0342031f039f0d05b8500408009f0e0500008800009f0f05b8700498008c219f02069f03069f1a0295055f2a029a039c019f37049f35019f45029f4c089f34038d0c910a8a0295059f37049f4c085f280208409f4a01829000</p>
  
  <p>Read data</p>
  
  <p>Request : 00B2021400</p>
  
  <p>Response : 70689f080200025711XXXXXXXXXXXXXXXXd1703201021010792f5f2018XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX5f300202019f1f1a30303030303030323130313030303030303739323030303030309f420208409f4401029f49039f37049f4701039000</p>
  
  <p>Read data</p>
  
  <p>Request : 00B2031400</p>
  
  <p>Response : 7081b79f4681b0c507d5fc6f008bf22f04484d0522f9a652df181559a938096558461a6a44a3acc8e1e64fb901a3bd5fa656ea1ec2eb2021d8ddab983aa5362ae0972bb717dc8f852da5a3ad03884c2ef06c4f2a7c56ff9891dd800707665569fb32bb05425c6d5a7461f2a604eb681d659bf052cad311af2b29e8a571a8e93a015814090eb13589e40756b5706e4e5bb75a1734f871aa6e6894f959f020854dfa9bca011340b470e5c45309f91486e7aa882a9109df708f01059000</p>
  
  <p>Read data</p>
  
  <p>Request : 00B2041400</p>
  
  <p>Response : 7081b39081b057591da6a8901a96bb23f5ebbf6d86ae95b07395146a9a940833b1ba052e65676c9c4f7d0d86ec55f58a75647736b31895a7d1f439f777abc8866abd9054ebebed31f882fa05d6188da55f9a9ebf346e3a93e9cd0663fddaaa56f55d56ba37f5405804e873edd79fefd9957114e1c6826240b5ff049a0ea221310b1f25d6586863550673f979956de1df27f0bd91bfac6d4aa2b239d290b90a10b6b9f54ac006e3b917e3bb3e87e430ecb1927579fa979000</p>
  
  <p>Read data</p>
  
  <p>Request : 00B2051400</p>
  
  <p>Response : 702a9f3201039224be09660a5a008739dcaa90106e2d4e0b99d3996fb7284012c1255c17e2709a52cdb9d7cb9000</p>
  
  <p>Get Data - Application Transaction Counter</p>
  
  <p>Request : 80CA9F3600</p>
  
  <p>Response : 6a88</p>
  
  <p>get Data - Last Online ATC Register</p>
  
  <p>Request : 80CA9F1300</p>
  
  <p>Response : 6a88</p>
  
  <p>get data - Pin Try Counter</p>
  
  <p>Request : 80CA9F1700</p>
  
  <p>Response : 9f1701039000</p>
  
  <p>get Data - Log format</p>
  
  <p>Request : 80CA9F4F00</p>
  
  <p>Response : 9f4f119f27019f02065f2a029a039f36029f52069000</p>
  
  <p>GetChallenge</p>
  
  <p>Request : 0084000000</p>
  
  <p>Response : 6d00</p>
  
  <p>Please advice</p>