REST rpc/metadata-query error

Lex Clay shared this problem 21 months ago

Hi Guys,

Version: 9.7.2

Code: 20220602

When using the api/rpc/metadata-query call, no matter what the query, the response I get is:

    "code": 401,
    "reason": "UNAUTHORIZED",
    "description": "No Authorised Operations are available"
Webservices are enabled, is there some hidden config setting I need to add to enable this?..I doubt it's to do with the payload or headers, all other calls we're using work as expected, but just in case...

options = {
  'method': 'POST',
  'url': '',
  'headers': {
    'Authorization': 'RHINOANALYTICS ts=1661352221568, nonce=3370ddc4-37d9-41b9-9f24-ada181fdc4bf, token=eyJ0....etc',
    'Content-Type': 'application/json',
    'Accept': 'application/vnd.yellowfin.api-v1+json;'
  body: JSON.stringify({
    "query": "select * from person",
    "password": "xxxx" // I've tried with and without the database password option

Replies (2)


Nevermind, I forgot about the init-param in web.xml


Hi Lex,

Thank you for the update. I'll go ahead and close this case.

Please let us know if anything else comes up that we can help with.

Have a great day,


Leave a Comment
Attach a file