Error : "insufficient_scope",

Options
nopporn.maneewong0
edited July 23 in WebSocket API

Hi,

Got one queries from one customer. They are trying to connect RTO V2 with websocket API

Please advise what can cause the following error.

Service ID: GE-Z762EPJPWZ3E

{

               "error": {

                               "id": "6a901c52-d936-4815-8670-3ea9bb49cac7",

                               "code": "insufficient_scope",

                               "message": "access denied. Scopes required to access the resource: [trapi.streaming.pricing.read]. Missing scopes: [trapi.streaming.pricing.read]",

                               "status": "Forbidden"

               }

}

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @nopporn.maneewong0

    Thank you for reaching out to us.

    It is a permission issue. The client's account doesn't have the trapi.streaming.pricing.read scope so it can't access the service discovery endpoint (https://api.refinitiv.com/streaming/pricing/v1/?transport=websocket).

Answers

  • tboonte
    tboonte Newcomer
    edited July 23

    @Jirapongse , thank you for quick response.

    Regarding entitlement, how do I confirm whether I have access or not?

    Is it something that a customer can check on his/her own, or does it need LSEG rep to check?

  • Hi @tboonte ,

    To check account's entitlement, please contact your LSEG account representative.
    I hope this helps and please let me know in case there's any other questions.