Question: what to do when your charger says not accessory?
Answer: Use the other original charging cable for your iPhone iPad. Clean your Apple Accessory. ...  Plug your charger in, when you get the error message press and hold your finger on the dismiss button and pull your charger out while still holding. ...  Turn off the device with the Lightning plug attached, then restart.