Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi!

    You mentioned that your website is returning a 500 server error code when you “use an api to organise” your products. You mention also that you’ve tracked this down to being caused by the Woo blocks plugin.

    In order to help you resolve this we need more details than you’ve provided. As an example?

    – What specific api are you using? Is this a REST API route/endpoint you’re writing about, or are you using some code API from WooCommerce core?
    – What specific error is pointing you to WooCommerce Blocks being the cause?
    – Will you outline for us some specific reproducible steps that provides a way to reproduce this on other sites?

    If WooCommerce Blocks is causing critical errors on other sites we definitely want to investigate and find out what can be done to prevent that, but in order to do that we need more information.

    Thanks!

    Thread Starter mybunnyb

    (@mybunnyb)

    I use REST API (v3) and the endpoint I use is https://mybunnybabyshop.com/. When I send the “products” request I get “Internal Server Error” and when I disable WooCommerce Blocks I can get the product list.
    I can get order list whether WooCommerce Blocks is enabled or not by the way.

    Hmm, I’m not able to reproduce this when executing hitting the wc/v3/products route with Woo Blocks active.

    What version of WooCommerce Blocks and what version of WooCommerce core are you running?

    Also, if you are able to get access to your PHP error logs, that could have more information about what is causing the error on your server.

    I realize on the surface it might appear that the Woo Blocks plugin is causing the error when you deactivate it and it goes away, but it could just be a symptom of the plugin conflicting with something else you have active on your site as well. Error logs will help narrow down what’s causing the issues.

    Thread Starter mybunnyb

    (@mybunnyb)

    hi darren,
    you are right. another plugin makes the conflict. i could send you the log file if you are interested to see what is going on

    Are you able to share the relevant portion of the file with the error here? I don’t think I need to see the entire file.

    Thread Starter mybunnyb

    (@mybunnyb)

    is it possible if i send it in private?

    Hi @mybunnyb – We don’t have a private way to send information in the forums. As long as you remove any of the private information, this information in our forums is not tracked by any search engines.

    Thanks!
    – Joey

    @mybunnyb – Were you able to retrieve this information for us?

    Thanks!
    – Joey

    Thread Starter mybunnyb

    (@mybunnyb)

    hi @jricketts4 ,
    there is no log in the server related to this issue unfortunately

    Hi @mybunnyb – many hosting providers delete this data after a few days. Are you able to try to recreate the situation and then check once more?

    – Joey

    Plugin Support Thu P. a11n

    (@thup90)

    Hi there,

    I hope you found the previous reply helpful. We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Breaks API’ is closed to new replies.