• Hi everyone, this is my first post here.
    I’m trying to protect all endpoints but when performing a simple request to get the posts I get the following response from wp:

    {
        "code": "invalid_username",
        "message": "<strong>Error</strong>: The username {\"typ\" is not registered on this site. If you are unsure of your username, try your email address instead.",
        "data": null
    }

    The request header contains:
    Authorization:Bearer tokengoeshere

    Can anyone help me with this? Thank you!

Viewing 1 replies (of 1 total)
  • I am getting the same error, trying to access the endpoints:
    /wp-json/wp/v2/
    and
    /wp-json/wc/v3/customers/

    was there any resolution you found to this?

    {
        "code": "invalid_username",
        "message": "<strong>Error</strong>: The username <strong>{\"typ\"</strong> is not registered on this site. If you are unsure of your username, try your email address instead.",
        "data": null
    }
    

    I am using an auth token provided by the plugin

Viewing 1 replies (of 1 total)
  • The topic ‘invalid_username error’ is closed to new replies.