We are receiving following error while working on REST API v2 version of REST API WooCommerce. It was working fine when we are retrieving data from localhost which is http but now we have uploaded it to the server which is https.
Here is the error which we are getting:
stdClass Object
(
[errors] => Array
(
[0] => stdClass Object
(
[code] => woocommerce_api_authentication_error
[message] => Invalid Timestamp
)
)
)
According to the WordPress forum these errors come when the server timestamp and the API timestamp are different. We tried to change the timestamp also but still don't get any luck.