Error 461 REST API

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • carba11
    Aspiring Member
    • Sep 2017
    • 1

    Error 461 REST API

    Hello, I try to use Management API to get users in Avaya IP Office 10.1.1.0 compilación 3. When I send the request the response is:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><response status="0"><data><ws_object error_node="true"><SMAError><error><error_code>461 :SessionTimeout</error_code><error_desc>[[ portal hostname ]]</error_desc><errorLocation>[[ portal hostname ]]</errorLocation></error></SMAError></ws_object></data></response>


    The query request is:

    url: https://[[ portal hostname ]]:7070/WebManagement/ws/sdk/admin/v1/users
    Content-Type: application/json
    Authorization: Basic Y2FyYmFsbGU6UmFwdG9yMzUw
    X-User-Client: Avaya-WebAdmin
    X-User-Agent: Avaya-SDKUser
  • fwilkepcs
    Genius
    • Nov 2013
    • 360

    #2
    Hi!


    Did you find a solution to that? I can call the API three times without issue. The fourth time I get that error.


    Funny thing is that I can't find the error (461) as an official error code anywhere.

    Comment

    • fwilkepcs
      Genius
      • Nov 2013
      • 360

      #3
      I am a little further. It seems that the authentication URI can be called only five times before you run into the timeout. Probably the session remain open and more than five parallel sessions are not allowed.

      I called the auth URI only once now and triggered the following calls (i.e. to get the users out of the IPO) multiple times. It worked fine calling the data about 10 timees.

      I have to adjust my script to handle that.

      Comment

      • nsivar
        Aspiring Member
        • Dec 2018
        • 2

        #4
        Originally posted by fwilkepcs View Post
        Hi!


        Did you find a solution to that? I can call the API three times without issue. The fourth time I get that error.


        Funny thing is that I can't find the error (461) as an official error code anywhere.
        Did you find any solution for this error??

        Comment

        • nsivar
          Aspiring Member
          • Dec 2018
          • 2

          #5
          Originally posted by carba11 View Post
          Hello, I try to use Management API to get users in Avaya IP Office 10.1.1.0 compilación 3. When I send the request the response is:

          <?xml version="1.0" encoding="UTF-8" standalone="yes"?><response status="0"><data><ws_object error_node="true"><SMAError><error><error_code>461 :SessionTimeout</error_code><error_desc>[[ portal hostname ]]</error_desc><errorLocation>[[ portal hostname ]]</errorLocation></error></SMAError></ws_object></data></response>


          The query request is:

          url: https://[[ portal hostname ]]:7070/WebManagement/ws/sdk/admin/v1/users
          Content-Type: application/json
          Authorization: Basic Y2FyYmFsbGU6UmFwdG9yMzUw
          X-User-Client: Avaya-WebAdmin
          X-User-Agent: Avaya-SDKUser
          How to overcome this issue ??

          Comment

          • tiffo2
            Aspiring Member
            • Mar 2014
            • 2

            #6
            I have the same problem, could you find a solution?

            Comment

            Loading