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 
            }

  }
}

1 Answer 1

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"?

1
  • Thanks @Alvin, it worked for me. Commented Apr 15, 2020 at 5:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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