1

I am trying to do graphql client call using postman, but i am getting Validation error

Validation error of type WrongType: argument 'contextData.type' 
with value 'StringValue{value='STRING'}' is not a valid 'ClaimValueType' @ 'page'

we are using DXD 11.1, could someone please help/advise me what could be possible problem here

my grapql query is

{
    page(pageId: 31319, namespaceId: 2, publicationId: 84323, 
    contextData: {
        uri:"taf:ish:userconditions",
        type:"STRING",
        value:"{\"PRODUCTID\":\"P199999}"}) {
        itemId        

            rawContent(renderContent: true) {
                data 
            }

  }
}
2

Per the error and this example in the documentation, the argument contextData.type probably isn't a valid ClaimValueType.

Perhaps you meant type: STRING instead of type:"STRING"?

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.