WordPress LMS and WP Education Theme for Academy and Education Institutes Forums App Support Free button and Profile not working due to 401 (Unauthorized)

Free button and Profile not working due to 401 (Unauthorized)

This topic contains 16 replies, has 6 voices, and was last updated by  tatorosas 2 days, 3 hours ago.

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #9685

    pixitale
    Participant

    Response {_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:401}}”, status: 401, ok: false, statusText: “Unauthorized”, headers: Headers, …}

     

    https://drive.google.com/open?id=1uPXOkd6zSXEKvCr2SarcRMminW6dftnf

    https://drive.google.com/open?id=1917YfJGiUy7UaxsPGV8GoRzmsbqGg400

    #9770

    Alex
    Keymaster

    Apologies for the delay in response .
    This is very common error ,simply make sure that your vibe course module and vibe customtypes plugin are updated to latest version 3.4.1 .

    Secondly please add this line at the end in your .htaccess file that you will in root of your site (where wp-content folder is ) .
    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

    #19611

    Shagun Kaushik
    Participant

    I’m still unable to solve this. I’ve added the line and both plugins are updated by version 3.9

    #19645

    Alex
    Keymaster

    please share your site url , admin credentials and valid ftp credentials  in private reply to check this issue at your end .

    #19764

    Shagun Kaushik
    Participant
    This reply has been marked as private.
    #19879

    Scott Lang
    Keymaster

    Also put this line in your .htaccess file at the end (.htaccess can be found in root of your site ):

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

    IF above does not works then please change the above line to :

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$1

     

    also make sure storage cache is cleared.

    #19915

    srinivas
    Participant

    URL: https://ntierscorp.com/awscourse/wp-json/wplms/v1/user/register

    Request :

    {

    “username”: “abcd62”,

    “email”: “[email protected]”,

    “password”: “test1234”,

    “client_id”: “K5FANN3wnfQQK4XjtihjItP”,

    “state”: “”,

    “device”: “69620E9B-2C05-497B-82E6-B1D9AE03B720”,

    “platform”: “iOS ( 12.1) “,

    “model”: “x86_64”

    }

    {

    “code”: “rest_forbidden”,

    “message”: “Sorry, you are not allowed to do that.”,

    “data”: {

    “status”: 401

    }

    }

     

     

    Please help me to resolve this issue

    #19916

    srinivas
    Participant

    I set this in .htaccess

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

    does not work
    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$1

    does not work

    • This reply was modified 2 weeks ago by  srinivas.
    #19918

    srinivas
    Participant
    This reply has been marked as private.
    #19945

    srinivas
    Participant

    HI Team,
    Can you please help me to solve the issue for registration and login.

    URL: https://example.com/awscourse/wp-json/wplms/v1/user/signin

    Req :
    {
    “username”: “nidadavolu”,
    “password”: “test12345”,
    “client_id”: “K5FANN3wnfQQrrK4XjtihjItP”,
    “state”: “”,
    “device”: “69620E9B-2C05544-82E6-B1D9AE03B720”,
    “platform”: “iOS”,
    “model”: “x86_64”
    }

    Response:

    {
    “code”: “rest_forbidden”,
    “message”: “Sorry, you are not allowed to do that.”,
    “data”: {
    “status”: 401
    }
    }

    I have already shared my ftp details

    • This reply was modified 1 week, 5 days ago by  srinivas.
    #20026

    Scott Lang
    Keymaster

    Hi,

    you have to set those above code like : http://prntscr.com/mkicqj

    #20028

    Scott Lang
    Keymaster

    After this if issue not solved then provide us your
    site url , username, password in private reply.

    we will check to configure your app to our end.

    #20225

    srinivas
    Participant

    still same issue

    </IfModule>

    # END WordPress
    SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$0
    SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1

    not solved. can you please check through ftp and solve

    #20226

    srinivas
    Participant
    This reply has been marked as private.
    #20247

    Alex
    Keymaster
    This reply has been marked as private.
    #20464

    srinivas
    Participant
    This reply has been marked as private.
    #20503

    tatorosas
    Participant

    <span style=”color: #17394d; font-family: ‘Helvetica Neue’, Arial, Helvetica, sans-serif; font-size: 14px; background-color: #ebeef0;”>No funciona el registro de usuarios a curso estos no se cargan</span>

Viewing 17 posts - 1 through 17 (of 17 total)

You must be logged in to reply to this topic.

Template Design © VibeThemes. All rights reserved.