You are viewing limited content. For full access, please sign in.

Question

Question

LFF17-FailedToAuthenticateToServer

asked on November 18, 2020 Show version history

Similar to https://answers.laserfiche.com/questions/167247/Laserfiche-Forms-WEBAPI-Sign-in-with-LFDSSTS#179122

 

HTTP call is : (using postman)

POST /forms/webapi/v1/Authentication/LogIn HTTP/1.1
Host: Laserficheformsserver.here.com
Content-Type: application/json
{username: "fakeusername", password: "1C9AAC6720080228BD"}

 

I get a different error

{

    "errors": [

        {

            "status": 400,

            "code": "FailedToAuthenticateToServer",

            "message": "An error occurred during sign-in. Please try again or, if the issue persists, contact your system administrator. [LFF17-FailedToAuthenticateToServer]"

        }

    ]

}

 

My goal is to show the in-progress forms like the monitor page, but through an API call so other users can see the status.

 

0 0

Replies

replied on November 23, 2020 Show version history

Are you able to login with this username/password through the Sign In page? You can check the event logs on the Forms server to check what is the detail error.

0 0
replied on December 29, 2021

Did you get this to work?  

We are using a username and password that can indeed sign in to forms.  However when we try to call the webapi we get the following error:
 

*************************

 ERROR MESSAGE              

*************************

Response: StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:

{

  Cache-Control: no-cache

  Pragma: no-cache

  Server: Microsoft-IIS/10.0

  X-UA-Compatible: IE=edge

  P3P: CP="Laserfiche does not have a P3P policy."

  Date: Mon, 27 Dec 2021 22:01:46 GMT

  Content-Type: application/json; charset=utf-8

  Expires: -1

  Content-Length: 227

}

{"errors":[{"status":400,"code":"FailedToAuthenticateToServer","message":"An error occurred during sign-in. Please try again or, if the issue persists, contact your system administrator. [LFF17-FailedToAuthenticateToServer]"}]}

 

 

0 0
replied on January 3, 2022

The API I provided at https://answers.laserfiche.com/questions/102116/Laserfiche-Forms-WSFed-or-SAML#102218 only works when Forms use Laserfiche Server as user authentication method, it will not work when Forms uses Laserfiche Directory Server as user authentication method.

0 0
replied on January 4, 2022

Thank you

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.