We are getting the same error - I think it is something to do with a modernization of the sharing feature. If we switch the UI to the 'Classic Sharing' things work again. We are a GCC tenant, so not sure if that has something to do with it.