Title: woocommerce_rest_cannot_view
Last modified: August 2, 2023

---

# woocommerce_rest_cannot_view

 *  Resolved [crissloya](https://wordpress.org/support/users/crissloya/)
 * (@crissloya)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/woocommerce_rest_cannot_view/)
 * my problem is basically that I cannot access the resources of the api rest, even
   though I am sure that the keys are correct.
 * ![](https://i0.wp.com/electronicahl.com/pruebas/wp-content/uploads/2023/08/1.
   png?ssl=1)
 * ![](https://i0.wp.com/electronicahl.com/pruebas/wp-content/uploads/2023/08/1-
   1.png?ssl=1)
 * the user still exists and have read/write permissions.
 * ![](https://i0.wp.com/electronicahl.com/pruebas/wp-content/uploads/2023/08/1-
   2.png?ssl=1)
 * the permalink structure is set to “name of the post”. permalinks settings are
   set in “pretty” but for the time being I will not use custom endpoints.
 * in fact, the installation of wordpress and woocommerce is recent, it has nothing
   more than a plugin that tells me what roles each user has and evidently the only
   user that exists has the role of administrator who can “manage_woocommerce”.
 * I’m a bit surprised by the problem, it has already happened to me on other two
   sites. something is missing but I don’t know what it is.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [hrn1995 (woo-hc)](https://wordpress.org/support/users/aguinaldodarla/)
 * (@aguinaldodarla)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/woocommerce_rest_cannot_view/#post-16943991)
 * Hi [@crissloya](https://wordpress.org/support/users/crissloya/) 
   Is there any
   specific error you are encountering? If so, could you share it with us, and the
   steps you did prior to encountering it, please?
 * We would also like to ask for the following:
    - **System Status Report**: navigate to **WooCommerce** → **Status**. Select`
      Get system report` and then `Copy for support`.
    - **Fatal Error log**: Share a copy of any fatal error log found under **WooCommerce**
      → **Status** → **Logs**.
 * Looking forward to your response!
 *  Thread Starter [crissloya](https://wordpress.org/support/users/crissloya/)
 * (@crissloya)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/woocommerce_rest_cannot_view/#post-16945595)
 * Hi [@aguinaldodarla](https://wordpress.org/support/users/aguinaldodarla/) thanks
   for your response, I haven’t seen any specific errors other than the 401 authentication
   error. WooCommerce itself works perfectly; it’s only when I try to use the REST
   API that I encounter issues. i attached the status report:
 * [https://pruebas.electronicahl.com/wp-content/uploads/2023/08/SystemStatusReport_pruebas.electronicahl.com_2023-08-03T19-56-44.txt](https://pruebas.electronicahl.com/wp-content/uploads/2023/08/SystemStatusReport_pruebas.electronicahl.com_2023-08-03T19-56-44.txt)
 * the steps I followed since I installed wordpress until I ran into the problem
   were
 * -fresh installation of wordpress
   -database configuration-site and user information
 * -installation of woocommerce plugin
   -configuration of woocommerce as an e-commerce
   store-configuration of the keys to enable the REST API in the “settings” -> Advanced-
   > API REST -> Add key -> Generate API keyDescription: APIUser: mainPermissions:
   read/write
 * I would also like to mention that I have seen the following topics, and none 
   of them have worked for me.
 * [https://wordpress.org/support/topic/woocommerce_rest_cannot_view-sorry-you-cannot-view-this-resoure-401/](https://wordpress.org/support/topic/woocommerce_rest_cannot_view-sorry-you-cannot-view-this-resoure-401/)
 * [https://wordpress.org/support/topic/woocommerce-rest-api-error-401-fresh-wp-wc-install/](https://wordpress.org/support/topic/woocommerce-rest-api-error-401-fresh-wp-wc-install/)
 * [https://wordpress.org/support/topic/woocommerce-rest-api-error-401/](https://wordpress.org/support/topic/woocommerce-rest-api-error-401/)
    -  This reply was modified 2 years, 10 months ago by [crissloya](https://wordpress.org/support/users/crissloya/).
 *  [Saif](https://wordpress.org/support/users/babylon1999/)
 * (@babylon1999)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/woocommerce_rest_cannot_view/#post-16956966)
 * Hello [@crissloya](https://wordpress.org/support/users/crissloya/),
   Seems like
   you’ve been on the hunt for a solution. :‎)If you’ve tried all the solutions 
   in the attached thread and none worked, then the problem might be related to 
   the server.
 * I noticed that you don’t have [SUHOSIN](https://suhosin.org/), which is a security
   module for PHP. It might be worth asking your hosting provider to install it.
 * If that doesn’t solve the issue, consider copying your site to another host to
   see if the problem is indeed related to the server.
   Let us know how it goes!
 *  Thread Starter [crissloya](https://wordpress.org/support/users/crissloya/)
 * (@crissloya)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/woocommerce_rest_cannot_view/#post-16966899)
 * hi [@babylon1999](https://wordpress.org/support/users/babylon1999/) thanks for
   your response, I will try what you are telling me, first I will check with the
   hosting provider to see what they tell me.
 *  [Beauty of Code (woo-hc)](https://wordpress.org/support/users/beautyofcode/)
 * (@beautyofcode)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/woocommerce_rest_cannot_view/#post-16976695)
 * Hi [@crissloya](https://wordpress.org/support/users/crissloya/) ,
 * That sounds like a plan 🙂
 * Let us know what you find, we’ll be here if you need any further help with this.
 * Cheers!
 *  Plugin Support [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * (@gabrielfuentes)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/woocommerce_rest_cannot_view/#post-16992688)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   we’ll be here if and/or when you are ready to continue.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘woocommerce_rest_cannot_view’ 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](https://wordpress.org/support/topic-tag/api/)
 * [app](https://wordpress.org/support/topic-tag/app/)
 * [external](https://wordpress.org/support/topic-tag/external/)
 * [json](https://wordpress.org/support/topic-tag/json/)
 * [postman](https://wordpress.org/support/topic-tag/postman/)
 * [rest](https://wordpress.org/support/topic-tag/rest/)
 * [wc](https://wordpress.org/support/topic-tag/wc/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * 6 replies
 * 5 participants
 * Last reply from: [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/woocommerce_rest_cannot_view/#post-16992688)
 * Status: resolved