Error: API user is invalid [woocommerce_api_authentication_error]
401
stdClass Object
(
[headers] => Array
(
[0] => Accept: application/json
[1] => Content-Type: application/json
[2] => User-Agent: WooCommerce API Client-PHP/2.0.1
)
[method] => GET
[url] => https://5iveonline.com/wc-api/v2/products?filter%5Bcategory%5D=sons-of-korah&filter%5Blimit%5D=200&consumer_key=ck_60e8d742d4004cfdbed7712f5744a3910d8edc38&consumer_secret=cs_fcee8ecc0d17a8a66235a0b524d69d2890d78bb7
[params] => Array
(
[filter[category]] => sons-of-korah
[filter[limit]] => 200
[consumer_key] => ck_60e8d742d4004cfdbed7712f5744a3910d8edc38
[consumer_secret] => cs_fcee8ecc0d17a8a66235a0b524d69d2890d78bb7
)
[data] => Array
(
[filter[category]] => sons-of-korah
[filter[limit]] => 200
)
[body] =>
[duration] => 0.42341
)
stdClass Object
(
[body] => {"errors":[{"code":"woocommerce_api_authentication_error","message":"API user is invalid"}]}
[code] => 401
[headers] => Array
(
[Server] => nginx
[Date] => Tue, 10 Sep 2024 12:01:42 GMT
[Content-Type] => application/json; charset=UTF-8
[Transfer-Encoding] => chunked
[Connection] => keep-alive
[Set-Cookie] => Array
(
[0] => Array
(
[0] => Array
(
[0] => Array
(
[0] => PHPSESSID=ile85vo7lf09ldkhk4l403du64; path=/
[1] => fWIGo_VJaprxLNzk=p.IrW0lC7yfT%5D6z; expires=Wed, 11-Sep-2024 12:01:42 GMT; Max-Age=86400; path=/; secure
)
[1] => jgxpbkHvRMO=jR5NXdUS.68%5DrF; expires=Wed, 11-Sep-2024 12:01:42 GMT; Max-Age=86400; path=/; secure
)
[1] => CsRgXlNEkW=evz20at%40XCsH3f; expires=Wed, 11-Sep-2024 12:01:42 GMT; Max-Age=86400; path=/; secure
)
[1] => AvuENwUxtXLPG=HXx%5BgTbK%5DoG2; expires=Wed, 11-Sep-2024 12:01:42 GMT; Max-Age=86400; path=/; secure
)
[Expires] => Thu, 19 Nov 1981 08:52:00 GMT
[Cache-Control] => no-store, no-cache, must-revalidate
[Pragma] => no-cache
)
)