We’re trying to connect with Vend (a POS system) via the REST API.
We’ve created credentials and these appear to be working fine, however it’s not pulling products and orders over into Vend.
We have used Postman to test the API keys that were created and got a 404 not found status for both product and order endpoints. The endpoints we used were /products and /orders.
I’ve tried resaving permalinks as per troubleshooting documents but the issue still persists.
I’ve spoken with Vend and they’re seeing the same – and are getting a 429 response which means it’s hitting an “attempt limit” according to Vend.
Some guidance on how to proceed would be much appreciated.
Best,
Matt
When I contacted Vend they said: Vend received a response from the server in an unexpected format (text/html) when trying connect to your WooCommerce store.
Cause
This error implies that something has changed on the server end and now the server is responding with HTML pages instead of JSON responses.
“unwrapped_error”: “Vend received a response from the server in an unexpected format (text/html) when trying connect to your WooCommerce store.”
It was advised it’s nothing Vend can do and to try to contact Woocommerce to figure out why it’s sending the wrong format.
Please help.
]]>Can anyone advise on how this could be resolved. – I’ve also rung some tests on the imageID checking and the function wp_attachment_is_image returns 1/true so doesn’t appear to be a problem with the function in the API.
{
"data": {
"code": "woocommerce_product_invalid_image_id",
"message": "#5644 is an invalid image ID.",
"data": {
"status": 400
}
},
"headers": {
"Allow": "GET, POST"
},
"status": 400
}
Thanks
]]>Would like to ask if anyone has tried integrating Vend Point of Sale System with WooCommerce.
Have been looking for resources to move me along, but found almost nothing online.
Thanks.
https://www.ads-software.com/plugins/woocommerce/
]]>