I am getting the following error when trying to re-activate Jetpack plugin:
Invalid request, please go back and try again.
Error Code:invalid_client
Error Message: Unknown client_id.
This solution worked for me:
SELECT * FROM `wp_options` WHERE `option_name` LIKE '%jetpack_%'
jetpack_
You should now be able to connect JetPack without any errors.