Not enough permissions
This issue may occur if the WordPress Username that you have set in the settings does not have enough permissions on your WordPress website itself.
Log in to your WordPress website as usual and adjust the permissions or your user roles. (preferably the administrator role).
If this problem only occurs when editing products, make sure that the WooCommerce API key has read and write permissions.