Error 1:
Failed to query EDP-RT service discovery. Error text: Failed to request service discovery information. Text: {"error":{"id":"b761027b-51fe-42a0-8592-899bc5bd95da","code":"insufficient_scope","message":"access denied. Scopes required to access the resource: [trapi.streaming.pricing.read]. Missing scopes: [trapi.streaming.pricing.read]","status":"Forbidden"}}
Error2:
com.refinitiv.ema.access.OmmInvalidUsageExceptionImpl: RDMLogin stream was closed with status message
username AQIC5wM2LY4SfcxpAqf%2BCTCoFlEmYWrGzHGEfjX99831Nhc%3D%40AAJTSQACMjAAAlNLABM3NjY3MzM5MDkyNzQ3NTQ1NjU0AAJTMQACMzM%3D%23
usernameType 1
State: Closed/Suspect/Usage error - text: "Login Rejected. Watchlist size of 0 for 'RSSL' connection is outside of range [15001,100000] supported for this ADS fanout tier for this type of connection."
at com.refinitiv.ema.access.OmmBaseImpl.ommIUExcept(OmmBaseImpl.java:1578) ~[SwapTimeout2.jar:?]
at com.refinitiv.ema.access.OmmBaseImpl.handleLoginReqTimeout(OmmBaseImpl.java:1396) ~[SwapTimeout2.jar:?]
at com.refinitiv.ema.access.OmmConsumerImpl.handleAdminDomains(OmmConsumerImpl.java:448) ~[SwapTimeout2.jar:?]
at com.refinitiv.ema.access.OmmBaseImpl.initialize(OmmBaseImpl.java:285) ~[SwapTimeout2.jar:?]
at com.refinitiv.ema.access.OmmConsumerImpl.<init>(OmmConsumerImpl.java:43) ~[SwapTimeout2.jar:?]
at com.refinitiv.ema.access.EmaFactory.createOmmConsumer(EmaFactory.java:237) ~[SwapTimeout2.jar:?]
at MarketPriceASKBID.SwapRates.createOmmConsumer(SwapRates.java:231) ~[SwapTimeout2.jar:?]
at MarketPriceASKBID.SwapRates.main(SwapRates.java:81) [SwapTimeout2.jar:?]
java.lang.IllegalStateException: The MarketPrice.Builder cannot build a MarketPrice without an OmmConsumer.
at com.refinitiv.platformservices.elektron.objects.common.Dispatcher$Builder.build(Dispatcher.java:182)
at MarketPriceASKBID.SwapRates.main(SwapRates.java:87)