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

Problem Custome Schema GraphQL

anai_barrera10
Super Contributor

Hi, I set up the API and made queries having a correct answer but I couldn't get the customizable attributes out of the meta classes

I have a question about querying data with GraphQL. I’ve checked the schema, but it seems that some custom fields are missing. Could you help me understand why this might be happening and how to resolve it?

anai_barrera10_0-1727114755213.png

Thx

 

2 Replies

anai_barrera10
Super Contributor

Hi, 

I am checking the schema with Postman at:

 

{server_url}/HOPEXGraphQL/api/ITPM/sdl

 

However, I can’t find the customizable attributes.

 

I tried updating the custom schema as indicated in this link,

https://community.mega.com/t5/User-Forum/Create-custom-schema-SDL-JSON-custom-endpoint/td-p/24218

but I encountered errors while generating the new custom JSON that includes my custom attributes.

 

[Screenshot]

 

I double-checked the paths of my environment and the repository I am using, I am working with my production environment but I still can’t figure out how to resolve this error to expose my new schema with my custom attributes.

 

Any ideas? 😭

anai_barrera10_0-1727462423938.png

 

LMeden
MEGA Partner
MEGA Partner

Hi @anai_barrera10, where are you checking the schema?
Are your updates in the custom json file? 
Are you checking on a development instance or production instance of HOPEX?