Rest API error after upgrading woocommerce 8.4.0
-
After the upgrade, I can no longer use the Rest API to query all products in an order.
from woocommerce import API wcapi = API( url="my_domain", consumer_key="ck_my_key", consumer_secret="cs_mysecret", version="wc/v3", timeout=20 ) order_id = "12345" oder_items = wcapi.get("orders/%s" % order_id).json() print(oder_items)
{‘code’: ‘internal_server_error’, ‘message’: ‘
A serious error occurred on this website.
Learn more about troubleshooting in WordPress
‘, ‘data ‘: {‘status’: 500}, ‘additional_errors’: []}
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Rest API error after upgrading woocommerce 8.4.0’ is closed to new replies.