Receiving a PDF via Custom action

Hi;

I’m creating a custom action to receive a PDF from a 3rd party Service. I’m getting a successful response during the setting up, but the custom action doesn’t get saved. I’ve tried many times.

Is it a bug or Adalo does not accept PDFs in API response??

Thanks.

I am not sure if its a bug, but if its a bug message adalo support!

New tab (adalo.com)

Hi Malik,

What’s the format for the API response? You most likely need to return a URL of the PDF hosted elsewhere, not the file itself.

Then you can present the file in webview.

Erik

Hi Erik,

The response is the PDF bin. I’m getting the PDF itself.
The solution you suggested requires to put the PDF publicly accessible via URL?
If it is true, due privacy policy, I can’t do thatin my use case.

Thank you.

The Collections API will not be able to receive a file as the data. This is due to many reasons of a technical nature and one we will tackle eventually, but as can be seen from this request from 2015 at Airtable (Solved: Is it possible to upload attachments? - Airtable Community), this is not trivial as they have still not implemented this ability.

My suggestion falls alongside Erik’s, where you would need to host this file somewhere else safely. Such as AWS or even Google Drive.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.