platform icon indicating copy to clipboard operation
platform copied to clipboard

InvalidDataContractError: Invalid Data Contract: "must be array" at DataContractFactory.createFromObject

Open dashameter opened this issue 3 years ago • 0 comments

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']],
    })

dashameter avatar Jun 03 '22 07:06 dashameter