Support » Plugin: WooCommerce » Rest API 302 found redirect to login

  • Resolved csyecommerce



    Im having an issue where intermittently my API GET requests are coming back with a 302 found response, resaving permalinks seems to solve the issue for a short time but not always but it occurs again after a short time.

    Im using IIS so any redirects would be written it web.config and this never changes and htaccess is obviously not in use.

    Ive tried deactivating all plugins except Woocomerce but the issue sill occurs.

    attempts it via postman when the application is receiving a 302, resolves to wp-login

    Could anyone shed some light on the issue or have had experience with similar?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Thomas Shellberg


    Automattic Happiness Engineer

    Hi @csyecommerce,

    This is usually an issue with either your permalinks or your site’s rewrite rules.

    * Make sure you have some form of Pretty Permalinks set up.
    * Try disabling any files or plugins temporarily which can create redirects. For Windows servers, this means renaming the web.config file; for Apache, this means the .htaccess file.
    * This plugin might help with troubleshooting your rewrite rules:

    Plugin Support Hari Shanker R


    Automattic Happiness Engineer

    Hi @csyecommerce

    Just checking-in with you to see if you were able to get this resolved. The suggestions we offered to you should be able to help you in fixing the problem. This is most-likely an issue with permalinks in your site. The plugin we suggested should be able to help you in fixing the problem.

    I’m marking this as Resolved, but feel free to reach out to us here in the forums if you have further questions. We’re happy to help!

    All the best!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rest API 302 found redirect to login’ is closed to new replies.