Unsupported query - Files API - Node.js

Hey @shaharsamira ,

You might find a solution to your problem here, as @dipro suggested.

In general, the file api should be improved:

  1. It should support uploading files as part of item creation, so that notifications and automations on item creation can use the uploaded files. With the current implementation, if you want to upload files as part of item creation, you will probably want to create an item update letting people know that file uploads are in progress and when they’re done.

  2. It is non-standard, as you experienced and saw in the post I mentioned above. This will also prevent you from using mature graphql clients such as apollo.

There are other saas api’s that allow uploading files from urls and this will simply and easily solve the problem of uploading files on item creation. It will also allow api consumers to use mature file storage apis such as amazon s3, cloudionary, google cloud storage, dropbox, etc. and then pass a link to the file already uploaded or stored.

Cheers,
Ronen Babayoff
Eazyform