• Salvatore

    (@scapolupogmailcom)


    Hello,

    I configured your plugin on a website for being called via Python Requests (i.e python requests).

    I configured htaccess, wp-config.php as you requested and explained, generating first key using:

    /wp-json/jwt-auth/v1/token

    This is what happens: I configured all as well, plugin works and i call

    /wp-json/wp/v2/posts

    for creating a POST request with heading parameters. This works, and response is 200 OK, and for some time works. After some days, with no changes in my website configuration, plugin stops working and shows an error like:

    403 Client Error: Forbidden for url: https://mywebsite.it/wp-json/wp/v2/posts

    but original url (see link to the page I posted) is working well via browser! I really cannot understand while stops working after some days. As a manual workaround, for now I regenerate key via /wp-json/jwt-auth/v1/token and than plugin works again, but it will expire some day… why? I use WP OPcache plugin for better loading times in the website, btw.

    Can you tell me some ideas for solving this or al least understanding problem? Thanks in advance!

    The page I need help with: [log in to see the link]

  • The topic ‘/wp-json/wp/v2/posts stops working / expires after some days (403 client error)’ is closed to new replies.