• Resolved wpsupacc

    (@wpsupacc)


    Hi,

    We have software with installers that makes use of the rest api endpoints.

    Interacting with the “/wp-json/lmfwc/v2/licenses/{license_key}” endpoint is leading to an unexpected error:

    {
      code: 'rest_no_route',
      message: 'No route was found matching the URL and request method.',
      data: { status: 404 }
    }

    Steps to Reproduce:

    1. Use a?{license_key}in this format: WD5NT-G80DK-L7AOM-NHFJ3-X49YC
    2. Make a request to any of the “/wp-json/lmfwc/v2/licenses/{license_key}” endpoints via the REST API.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Mirza Hamza

    (@hamza1010)

    Hello @wpsupacc,

    Thanks for contacting us,

    Hope you are doing well, We’ve informed our technical team about your issue, and they will work on it promptly. When we receive their response, we will get back to you. Our team is here to assist you.

    Thanks & Regards
    WP Experts Support Team

    Thread Starter wpsupacc

    (@wpsupacc)

    Thank you, when rolling back the plugin to v2.2.12 the issue is resolved. So there is something you have broken down the road.

    We use these routes:

    GET v2/licenses/{license_key}

    GET v2/licenses/activate/{license_key}

    GET v2/licenses/validate/{license_key}

    All the routes have the same problem. We are calling the routes with consumerkey and secret, and a woocommerce product id.

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hello @wpsupacc,

    Thanks for sharing the more information, we have to check this and we will keep you updated on this.

    Thank you

    Thread Starter wpsupacc

    (@wpsupacc)

    We found that re-saving the active routes in the plugin settings solves the problem. Hopefully this helps. thank you for the prompt response!.

    Plugin Support Mirza Hamza

    (@hamza1010)

    Thanks for the feedback.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Rest API bug/change’ is closed to new replies.