Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Error: message: must have required property 'cancellation' #277

Open
NexusStudent opened this issue Aug 30, 2024 · 0 comments
Open

Error: message: must have required property 'cancellation' #277

NexusStudent opened this issue Aug 30, 2024 · 0 comments

Comments

@NexusStudent
Copy link

Every time i run
import { TbdexHttpClient, } from "@tbdex/http-client";

const offerings = await TbdexHttpClient.getOfferings({ pfiDid: aquafinanceCapital });
i get the following error

Error: message: must have required property 'cancellation' at handleValidationError (file:///C:/Desktop/Dev/web5-app/node_modules/@tbdex/protocol/dist/esm/src/validator.js:27:11) at validate (file:///C:/Desktop/Dev/web5-app/node_modules/@tbdex/protocol/dist/esm/src/validator.js:14:9) at Offering.validateData (file:///C:/Desktop/Dev/web5-app/node_modules/@tbdex/protocol/dist/esm/src/resource.js:95:9) at Offering.validate (file:///C:/Desktop/Dev/web5-app/node_modules/@tbdex/protocol/dist/esm/src/resource.js:87:14) at Offering.verify (file:///C:/Desktop/Dev/web5-app/node_modules/@tbdex/protocol/dist/esm/src/resource.js:50:14) at Offering.parse (file:///C:/Desktop/Dev/web5-app/node_modules/@tbdex/protocol/dist/esm/src/resource-kinds/offering.js:30:24) at TbdexHttpClient.getOfferings (file:///C:/Desktop/Dev/web5-app/node_modules/@tbdex/http-client/dist/esm/src/client.js:102:45) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///C:/Desktop/Dev/web5-app/Wallet.js:17:23

And there is no way of bypassing it.
What am i doing wrong 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant