Error: You are not allowed to create resources

Complete error description: “Sorry, you are not allowed to create resources”

Cause

If you get this error, it can be the permission of your user, or something a little bit more complex in the code.

Remember you can always read errors in your Nembol product. In this case, your product will not list on WooCommerce (see screenshot below):

Error: You are not allowed to create resources nembol

Solution: Allow permissions

The error is often due to insufficient permissions attributed in your WordPress to the user you used to login with Nembol.

Here is how to solve it:

  • Visit your user admin area at http://yourwoocommercestore.com/woocommerce/wp-admin/users.php

  • Check the permissions of the user you just used to log in via Nembol. See the screenshot below, users can have different roles and not all roles can publish products

  • Specifically: you’ll be ok with “Administrator” users, and most of the time with “Shop Manager”. “Editor” role, for instance, will log in ok with Nembol, but is one of the roles that will return the error “Sorry, you are not allowed to create resources”

Error: You are not allowed to create resources

“Administrator” and “Shop manager” roles have permission to publish products and will not incur in the “Sorry, you are not allowed to create resources” error.

 

If it still does not work: “sorry you are not allowed to create resources”

There is a solution at this link: https://github.com/WP-API/Basic-Auth/issues/35: you’ll have to modify the .htaccess WordPress server configuration file. And to do so you have an explanation at this other link: https://www.wpbeginner.com/wp-tutorials/9-most-useful-htaccess-tricks-for-wordpress/

You’ll need your developers to do this on your behalf, unless you are your own server maintainer.

Please let us know in the comments below if you had any other issues. Or in the in-app chat. We’ll do the extra mile to help you solve it.