Authorization response 401 – Woocommerce API
-
Hi,
I have migrated my website from temporarly used Windows Server to new Apache Linux Server, but after migration and when i try to make GET request for Products, Orders…, etc i get 401 response.
On the dashboard side i get below errors when i go to Products page:
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-menu is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-menu-names is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-login is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-verify-user is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-profile-meta is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-order-payment-url is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-order-total is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-send-password-reset-link is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-applicable-shipping-method is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-product-search is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-verify-cart-items is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-categories is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
Notice: register_rest_route was called incorrectly. The REST API route definition for wc/v3/ams-post-categories is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in public_html/wp-includes/functions.php on line 5225
I tried alot to fix it but unfortunately i did not succeed, any one can healp please!
Thanks in advance.
The page I need help with: [log in to see the link]
- The topic ‘Authorization response 401 – Woocommerce API’ is closed to new replies.