Missing Endpoint: rest_route=/wc/v1/wc-auth/v1/authorize
-
Hi, I’m trying to connect PirateShip to WooCommerce. I’ve opened a ticket with PirateShip and they suggested there is an issue with my installation. I am self-hosting with the standard LEMP stack, with a fairly new install of WP 5.4.2 and WC 4.3.2.
In my server logs, I see the PirateShip connection come in ok (HTTP 200s), then PirateShip tries to redirect browser to a nonexistent API route:
GET /index.php?rest_route=/wc/v1/wc-auth/v1/authorize?...<truncated>...
This GET gives me a 404, and in my browser I see a JSON object that says “rest_no_route”.
Furthermore, if I look at all the available API routes at /wp-json/wc/v1, I don’t see anything for wc-auth. I can’t find anything in the WC docs about this endpoint either. The only trace of it I’ve found on the WC website is at this URL, which returns Page Not Found.
https://docs.woocommerce.com/wc-apidocs/class-WC_Auth.htmlI am using Nginx and have a feeling there may be an issue with the request rewrites, but I also find it odd that there is literally no information about the /wc/v1/wc-auth endpoint online.
Can someone assist with pointing me in the right direction for how to continue troubleshooting? I’m not sure where to look next since PirateShip is saying it’s a configuration issue but the API endpoint they’re sending me to doesn’t exist.
- The topic ‘Missing Endpoint: rest_route=/wc/v1/wc-auth/v1/authorize’ is closed to new replies.