You may have some debris interfering with the electrical contacts. Make sure they are clean and protruding fully. Also check for debris in the SP3 receiving port. If they are indeed clean, or your Surface Pro Type Cover (for SP3) is new, and failing, then you likely have a defective Type Cover.