cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GraphQL Portfolio Hopex V6

VieJay
Super Contributor

Hi All.

With the cloud version I can see a lot of portfolios with the GUI / Browser App, but if I try a GraphQL query on portfolio, the result is a 200 ok with an empty return object.

 

VieJay_0-1748322212421.png

 

Why? What should we propably do?


Volker

3 Replies

Hello,

What I meant was to check which user and profile has been used in the API key?

When an API key is created, a user and a profile is selected. It can be possible that, the profile used in the API key, cannot access MetaClass "Portfolio":

Example:

The API created with profile "Data Viewer" which cannot see "Portfolio" MetaClass, the result is blank:


AHas_0-1748946056836.png

The same profile can see "Application" - here you have the results with the same API key:

AHas_1-1748946119664.png

So, you need to check with the person/MCS team or whoever has created the API key, which profile has been used.

VieJay
Super Contributor

Hi.

Thanks for your reply. Application works fine. But what do you mean with point 2 "Use Mega..."? I have no configuration knowledge and access to Mega/Hopex in the cloud.


AHas
MEGA Partner
MEGA Partner

Hello,

It seems that it is not getting list of portfolios - does it work for applications?

In my environment, I don't have any portfolio and I get same result as you:

AHas_0-1748342373372.png

When I have a portfolio, I get the list:

AHas_1-1748342413325.png

I suggest:

  1. check if this works with applications
  2. check the API key has correct profile etc. (Use "Mega" user with "Hopex Customizer" profile)