platform
platform copied to clipboard
InvalidDataContractError: Invalid Data Contract: "must be array" at DataContractFactory.createFromObject
after upgrading to v.22.7 I now see this error in my debug console:
InvalidDataContractError: Invalid Data Contract: "must be array"
at DataContractFactory.createFromObject
I'm getting the error when querying the dashpay.profiles or dpns names, e.g.:
const res = await client?.platform?.documents.get("dashpay.profile", {
where: [["$ownerId", "==", 'AySCb11vegmkjaL6M1PdHYjT67cuNd7GZiMApyjsRB3R']],
})