Try restarting, and they have to both be disconnected simultaneously. iPad from keyboard and cable from keyboard at one time then plug cable back in and replace iPad. Also, try wiping down the prongs on the back that connect to the keyboard and the ones on the keyboard, particularly with WD40, if you have it. I did this before and it started working, though I believe it may have been a coincidence. If you can, in my opinion, I would return the iPad and equipment ASAP if it’s not too late and buy a Tab S7 plus. It is a premium laptop that functions as a viable replacement for a laptop and has better specs than the iPad Pro, not to mention it comes with a stylus free and back cover, and I’m sure the keyboard costs less as well. If I could, I would go back and get one of those instead. iPads mobile os limitations have prevented me from being able to use it what I partially bought it for; online classes. I cannot use the desktop version of Google Chrome and therefore cannot download extensions for Google Chrome, such as Proctorio to take exams and quizzes for my classes. I’m sure this is the same case for the Tab S7 Plus, but at least it would have better specs and WORK all the time! Goodness gracious. I can’t believe the guy I talked to at Apple had not heard of this issue. I had to cancel my Genius Bar appointment because I do not have the means to back up my iPad without paying for UPGRADED STORAGE. BECAUSE THEY’RE DISCONTINUING ITUNES! AND I CAN’T DOWNLOAD IT ON MY PC. Now everybody has to drink the Kool-Aid! Nobody wants to pay money MONTHLY to store data! GAH DAM! Stadia by Google lets you stream video games you purchase ONE TIME FOREVER. Get with the times Apple.