Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with WooCommerceNET Library in C# - API Request Error #764

Open
pipoken opened this issue Nov 22, 2023 · 1 comment
Open

Issue with WooCommerceNET Library in C# - API Request Error #764

pipoken opened this issue Nov 22, 2023 · 1 comment

Comments

@pipoken
Copy link

pipoken commented Nov 22, 2023

Wordpress version: 6.3
WooCommerce version: 8.3.1
WooCommerce.Net version: 0.8.6

I'm encountering an issue with the "WooCommerceNET" library in C# while interacting with the WooCommerce API.
I've successfully set up the credentials, but when making a request (e.g., products.GetAll()), I receive the following exception:

<!DOCTYPE html>
<html lang="en-US">
   <head>
      <title>Just a moment...</title>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta http-equiv="X-UA-Compatible" content="IE=Edge">
      <meta name="robots" content="noindex,nofollow">
      <meta name="viewport" content="width=device-width,initial-scale=1">
      <link href="/cdn-cgi/styles/challenges.css" rel="stylesheet">
      <meta http-equiv="refresh" content="375">
   </head>
   <body class="no-js">
      <div class="main-wrapper" role="main">
         <div class="main-content">
            <noscript>
               <div id="challenge-error-title">
                  <div class="h2">
                     <span class="icon-wrapper">
                        <div class="heading-icon warning-icon"></div>
                     </span>
                     <span id="challenge-error-text">Enable JavaScript and cookies to continue</span>
                  </div>
               </div>
            </noscript>
         </div>
      </div>
      <script>...</script>
   </body>
</html>

This excepcion message y raised when executing this line:
List list = await wc.Product.GetAll(new Dictionary<string, string>() { { "page", $"{page}" } });

error woocommerceNet

Any idea?

@XiaoFaye
Copy link
Owner

Some of the plugins have caused this issue, you might need to disable one by one to find out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants