XiaoFaye / WooCommerce.NET

A .NET Wrapper for WooCommerce/WordPress REST API
MIT License
393 stars 218 forks source link

Page Not Found - 404 #755

Open HassanSiddique opened 1 year ago

HassanSiddique commented 1 year ago

Make sure you have included the below details when open an issue. Thank you.

       try
         {
                RestAPI rest = new RestAPI($"{config.StoreUrl}/wp-json/wc/v3/",config.ConsumerKey,config.ConsumerSecret);
                WCObject wc = new WCObject(rest);
                var products = await wc.Product.GetAll();
                return true;
          }
          catch (Exception ex)
          {
                logger.LogError(ex.Message);
                return false;
           }
marcschmidt1 commented 1 year ago

Thinking simple. Can u call url in Browser ? Greetings

XiaoFaye commented 1 year ago

One of your plugins has interfered the json response on your site, please find out and disable it.