Do a Spotlight search for Keychain and open the Keychain Access application.
In the logins section on the left, look for a key named DEVONcloudy Encryption (name of service) like DEVONcloudy Encryption (Dropbox).
Double-click it and check the Show password checkbox. You will be required to enter your Administrative password. (This is the password you use to log into your machine with.)
Press Allow (or Always Allow, if desired) and the password will be shown.
Take note of the password, then quit Keychain Access.
Unfortunately this doesn’t work for me, I believe it is because I tried to guess the key, so the guess has replaced what is in the keychain. In any case, that key still returns Invalid Encryption Key
Deleting the keychain entry wouldn’t be sufficient as that doesn’t affect the sync data.
You need to control-click the sync location in DEVONthink’s Preferences > Sync and choose Clean Location. After the clean is reported successfully in Window > Log, you’d need to set databases to sync again.
Also note we have written regarding these things in the built-in Help > Documentation > Troubleshooting > Sync.
Thanks a lot for the tips. Unfortunately, the iPad still reports the error.
On the Mac sync to iCloud was successful as can be seen in the Sync preferences. However the iPad still reports the issue. It doesn’t matter if I use encryption or not.