Avoid cloud storage
EndNote libraries should never be stored in cloud-syncing folders such as Dropbox, iCloud, OneDrive, Box, SugarSync, etc. Syncing folders corrupt EndNote libraries over time. Save your library to the local device and then sync or create a backup file to share/store on a cloud drive. For macOS users, make sure the folder your library is not being "optimized".