Woocommerce Connection Errors

Woocommerce Connection Errors

I'm using the invokeURL() function in a Deluge custom function to send JSON payload to woocommerce using a "Woocommerce Connection" app. However, a "401 cannot create resource" is response i being returned despite having the proper credentials and using other methods yield successful results.

Can you guys look into the Woocommerce plugin and determine the cause and possible solution?