I have an app where I am attempting to invoke an executeQuery that creates a mutation of a composite that I have compiled/deployed. I am getting the following error when I attempt to run the executeQuery:
Capability is expired, cannot create a valid signature
I have confirmed that my connection status is “Connected”. Here is the API call that I am attempting to make:
const CREATE_CLAIM = `mutation (
$claim: String!
$by: String!
$credit: Int!
$round: String!
){
createClaim(
input: {
content: {
claim: $claim
by: $by
credit: $credit
round: $round
}
}
){
document {
id
claim
by
credit
signed_by {
id
}
round
}
}
}`
const variables = {"claim":"Task 2","by":"<a wallet>","credit":10,"round":"february"}
const composeDBResult = await compose.executeQuery(
CREATE_CLAIM,
variables
);
I’ve gone through the docs and can’t find any specific reference to that error.