Comments (6)
I'm having the exact same problem and the product also get created. To be fair I don't really mind the errors as everything still seems to work perfectly fine, but how can you deal with it to still incorporate the product creation in a working program?
from wc-api-python.
I'm having the exact same problem and the product also get created. To be fair I don't really mind the errors as everything still seems to work perfectly fine, but how can you deal with it to still incorporate the product creation in a working program?
Set the timeout around 20 seconds in the API()
constructor and it should work for you then.
from wc-api-python.
Had to set it to 30 for it too work. Our site is indeed quite slow so that might be the culprit. Thank you!
from wc-api-python.
Hello, thanks for reporting it.
This one is an issue with requests library, you can issue more details in psf/requests#5291
My advice besides changing timeout it's to implement a try/catch to handle those errors.
I'm closing for now since it's an issue from requests and there's some workarounds for it.
from wc-api-python.
@claudiosanches I am getting this error as well. I have tried increasing the timeout to 30, 50, and even 100 but it doesn't
seem to work. Is there any work around?
from wc-api-python.
me too :(
from wc-api-python.
Related Issues (20)
- POST accepts JSON string but not a dictionary
- How to retrieve order data based on modified date? HOT 2
- Request return none with per_page argument HOT 2
- Problem with new format of Let's Encrypt certificate HOT 1
- Documentation Error HOT 3
- [Slow performance] - two seconds for each call HOT 7
- low_stock_amount is string
- Basic import doesn't work HOT 2
- Fetching 'products' fails with a 403 error despite other successful API calls HOT 3
- unable to update a product HOT 3
- Issue using POST to batch update products HOT 1
- is this repo alive ??
- is this repo alive ?? HOT 2
- Pagination support HOT 1
- Swatch Label / Swatch Color hex in post products attributes terms
- issue JSONDecodeError when getting product
- response 404 or 500 when getting products/sales from woocommerce using python
- Install issue related to Apple silicon
- Plan to use WP API instead of WC Legacy REST API?
- response.status_code on insert a product HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wc-api-python.