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"
}



Best Answer

  • @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.


Answers