Title: Bug API Rest WordPress WooCommerce
Last modified: July 24, 2023

---

# Bug API Rest WordPress WooCommerce

 *  Resolved [Elodie](https://wordpress.org/support/users/azurwebdesign/)
 * (@azurwebdesign)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/bug-api-rest-wordpress-woocommerce/)
 * Hi
 * I have a problem with the Rest API which does not work and returns this error
   message:
 * {“code”:”rest_not_logged_in”,”message”:”Sorry, you do not have permission to 
   make REST API requests.”,”data”:{“status”:401}}
 * Can you help me please?
 * I also tried several manipulations to verify the problem:
    - Disable Itheme security plugin (does not solve)
    - Disable WP Rocket plugin (doesn’t solve)
 * I work in multisite network mode
 * Please I would like some help because my customers have no more sales

Viewing 1 replies (of 1 total)

 *  [hrn1995 (woo-hc)](https://wordpress.org/support/users/aguinaldodarla/)
 * (@aguinaldodarla)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/bug-api-rest-wordpress-woocommerce/#post-16927864)
 * Hi [@azurwebdesign](https://wordpress.org/support/users/azurwebdesign/) 
   It appears
   you’re receiving a 401 Unauthorized error, which suggests there is an issue with
   your authentication. Here are the following possible reasons as stated [here](https://github.com/woocommerce/woocommerce/wiki/Getting-started-with-the-REST-API#401-unauthorized):
    - The user you generated API keys for actually has access to those resources.
    - The username when authenticating is your consumer key.
    - The password when authenticating is your consumer secret.
    - Make a new set of keys to be sure.

Viewing 1 replies (of 1 total)

The topic ‘Bug API Rest WordPress WooCommerce’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [API REST](https://wordpress.org/support/topic-tag/api-rest/)

 * 1 reply
 * 2 participants
 * Last reply from: [hrn1995 (woo-hc)](https://wordpress.org/support/users/aguinaldodarla/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/bug-api-rest-wordpress-woocommerce/#post-16927864)
 * Status: resolved