Problem in create a trunk with GraphQL

hi,
when run this query :

mutation {
createTrunk(
trunkName: "SIPTrunk",
trunkTech: "sip",
outboundCid: "1234567890",
peerDetails: "username=xxxx nsecret=xxx nhost=provider.com ntype=friendncontext=from-trunk ninsecure=port,invite"
) {
status
message
trunkId
}
}

return :

{
    "errors": [
        {
            "message": "Cannot query field \"createTrunk\" on type \"Mutation\".",
            "status": false
        }
    ]
}```

I use the latest version and current scope is gql.

**What is the problem?**

Is there a solution for this problem?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.