Skip to Content

BO Webi RESTful 4.2 SP2 Token validity issues

Dear All,

I am getting error as mentioned here below after 10-15 minutes of generating the token though session is active and token is valid and not expired. After getting these issues when I accessing with newly generated token these issues are resolved automatically. I checked in CMC token is set to expire after 60 minutes. I am not able to understand the nature of token here.

Any help would be appreciated to resolve thess issues.

Below call is working for me:

GET: http://<server>:6405/biprws/infostore

Accept:application/xml

X-SAP-LogonToken:"<valid_token_value>"

Status: 200 OK

get-working.jpg

Below issue1 and issue2 causing problem with same token which was used in above call and with newly generated token these issues are resolved automatically getting desired output with Status: 200 OK

Issue 1:

GET:http://<server>:6405/biprws/raylight/v1/documents/2050057/parameters/ Accept:application/xml

X-SAP-LogonToken:"<valid_token_value>"

-----------------Getting Error--------------------

get-param-issue1.jpg

Status: 503 Service Unavailable

<error>

<error_code>WSR 00402</error_code>

<message>Resource is not reachable: "FatalException occured. The cause was : com.businessobjects.corba.generic.container.proxy.internal.DependencyFailoverCallbackImpl$FailoverFatalException: Prepare failover failed"

</message>

</error>

Issue 2:

PUT:http://<server>:6405/biprws/raylight/v1/documents/2050057/parameters/ Content-Type:application/xml

X-SAP-LogonToken:"<valid_token_value>"

Body>Raw:

<parameters>

<parameter type="prompt"><id>0</id><answer type="Numeric"><values><value>ALL</value></values></answer></parameter>

<parameter type="prompt"><id>1</id><answer type="Numeric"> <values> <value>ALL</value> </values></answer> </parameter>

<parameter type="prompt"><id>2</id><answer type="Numeric"><values><value>%Lic%</value></values></answer></parameter>

</parameters>

-----------------Getting Error--------------------

put-param-issue2.jpg

Status: 503 Service Unavailable

<error>

<error_code>WSR 00402</error_code>

<message>Resource is not reachable: "FatalException occured. The cause was : com.businessobjects.corba.generic.container.proxy.internal.DependencyFailoverCallbackImpl$FailoverFatalException: Prepare failover failed"

</message>

</error>

Thanks & Regards,

Deepak Kumar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 17, 2018 at 10:50 PM

    Hi Deepak

    Hopefully you found a solution to this as the question is quite old.
    My first question would be: How is the X-SAP-LogonToken generated? is it generated from an existing Enterprise Session?
    If so, if the originating session is timed out or destroyed, the associated X-SAP-LogonToken is also invalidated.

    Dan

    Add comment
    10|10000 characters needed characters exceeded