woocommerce_rest_route_missing
The shop answered, but its REST API is not published: WordPress replied that the route does not exist. The usual cause is permalinks left on the plain setting, so `/wp-json/` is not served. The credential may be perfectly valid.
| Code | Type | HTTP | Category |
|---|---|---|---|
woocommerce_rest_route_missing | invalid_request_error | 422 | Integration |
Cause
The shop answered, but its REST API is not published: WordPress replied that the route does not exist. The usual cause is permalinks left on the plain setting, so /wp-json/ is not served. The credential may be perfectly valid.
What to do
In WordPress, go to Settings → Permalinks, pick any option other than "Plain", save, and run the test again. This code exists precisely so that you do not regenerate keys: they are not the problem.
Related
All Integration error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.