For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 0

Price Message Request: "Request Rejected: Cannot reopen item with different stream."

I retrieve around 100 RICs as a batch from the WebSocket API. and get the error `Cannot reopen item with different stream` & `Access Denied: User req to PE(6562)`.

i want to know in which case the server will give these messages to me.

Thanks


{
    "Fields":{},
    "ID":81,
    "Key":{"Name":"BP.N"},
    "State":{
        "Data":"Suspect",
        "Stream":"Closed",
        "Text":"Request Rejected: Cannot reopen item with different stream."
    },
    "Type":"Status"
}
{
    "Fields":{},
    "ID":7,
    "Key":
        {"Name":"BP.N"},
    "State":{
        "Code":"NotEntitled",
        "Data":"Suspect",
        "Stream":"Closed",
        "Text":"Access Denied: User req to PE(6562)"
    },
    "Type":"Status"
}



treprdp-apiwebsocketsrrto
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
7.6k 15 6 9

@Young.Li

Both messages were generated by server-side /TREP.

For the first message "Request Rejected: Cannot reopen item with different stream."

It seems to relate to how the server-side manage or remove the item stream. From the client-side point of view, the item stream is Closed so the application can just re-request it. As this is an infra-related issue, the infra support team would be in a better position to investigate and provide a suitable resolution/workaround to the problem.


Regarding entitlement error "Access Denied: User req to PE(6562)" it was generated by the DACS component that your server is connecting to. The user you are using does not have permission to request the item. You should contact the Account Team to verify your permission.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
9.5k 10 5 7

Hello @Young.Li

"Access Denied: User req to PE(6562)" indicates that you do not have permission to access the RIC BP.N, please contact the person who give you the username to access the server. He/she should be able to grant the permission for you.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

i only get the "Access Denied: User req to PE(6562)" once, while from next second i always get the price info as i expected

Click below to post an Idea Post Idea