I am evaluating the RDP "Message-Services Delivery". For that, I tried the python RDP sample and the API Playground, but for both cases, I received an error.
On API Playground, when I try to run 'GET /NEWS-HEADLINES/SUBSCRIPTIONS' the 'Send' button is 'disabled displaying 'you are not permissioned to execute this method'.
Running 'newsMessages.py', the error returned is:
C:\Projects\EikonDataAPI - Python\EikonData\rdp_python_samples\samples>python newsMessages.py -l
Reading the token from: token.txt
Getting all open news subscriptions
Traceback (most recent call last):
File "newsMessages.py", line 141, in <module>
showActiveSubscriptions()
File "newsMessages.py", line 130, in showActiveSubscriptions
raise ValueError("Unable to get subscriptions. Code %s, Message: %s" % (dResp.status_code, dResp.text))
ValueError: Unable to get subscriptions. Code 403, Message: {"error":{"id":"c00196a1-3fa6-408c-a044-88757a356d48","code":"insufficient_scope","message":"access denied. Scopes required to access the resource: [trapi.alerts.news-headlines.crud] or [trapi.alerts.news-headlines-1h.crud] or [trapi.alerts.news-headlines-24h.crud]. Missing scopes: [trapi.alerts.news-headlines.crud trapi.alerts.news-headlines-1h.crud trapi.alerts.news-headlines-24h.crud]","status":"Forbidden"}}
Is that a permissioning problem? Or is this method still not available for using? What do I have to do in order to test this method?
Thanks