Giter VIP home page Giter VIP logo

Comments (2)

tomachinz avatar tomachinz commented on July 21, 2024

After some ponderation staring at the terminal I noticed a deprecation warning, not sure if this is relevant, the output from zapier test:

  Create - create_opportunity
    1) should create an object
(node:24103) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.

  Create - create_organisation
    2) should create an object

Since Current-RMS requries a linked member (organisation or contact) this could be the issue, so I plan to disable the create so only a contact member is created (start simple).

Not sure the best way to disable the create but I will try moving the file outside the creates folder shortly...

from currentrmszap.

tomachinz avatar tomachinz commented on July 21, 2024

This message also stuck out at me:

Received 401 code from https://api.current-rms.com/api/v1/members?q%5Bemails_address_eq%5D=undefined after 840ms

and also

tomachi@yakland:~/current-zap$ zapier validate --debug

Validating project locally.
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ = 1 =                                                                                                                 │
│     Property │ App.searchOrCreates.find_organisation.create                                                           │
│     Message  │ must match a "key" from a create (options: )                                                           │
│     Links    │ https://github.com/zapier/zapier-platform-schema/blob/v8.2.1/docs/build/schema.md#searchorcreateschema │
└──────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Your app is structurally invalid. Address concerns and run this command again.

Skipping app style check because app did not validate.
>> POST https://zapier.com/api/platform/cli/analytics
>> {"command":"validate","isValidCommand":true,"numArgs":0,"flags":{"debug":true},"cliVersion":"8.4.2","os":"linux","zip_file":"raw zip removed in logs","source_zip_file":"raw zip removed in logs"}
<< 200
<< {"success": true}


As far as I know I am setting the key statically as:
key: 'find_organisation',in the index.js file, maybe that needs to be generated?

from currentrmszap.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.