Error 461 REST API

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • tiffo2
    replied
    I have the same problem, could you find a solution?

    Leave a comment:


  • nsivar
    replied
    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 ??

    Leave a comment:


  • nsivar
    replied
    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??

    Leave a comment:


  • fwilkepcs
    replied
    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.

    Leave a comment:


  • fwilkepcs
    replied
    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.

    Leave a comment:


  • carba11
    started a thread Error 461 REST API

    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
Loading