Usually, this error comes up when you try to update the Plugin when your license is not active. Make sure to Activate the License on your website. If you have already done so and you are still facing the issue, you can simply deactivate and then reactivate it. You can also check out this article to manually update BetterDocs.