Error on File Download Card MetadataTooLarge

My helper flow is setup to get files from a notion database record. Feeding the helper is data from a for each list of attachments. An attachment file url is passed to a File Download card, and the url contains all of the credentials required by S3.

Any ideas on how to solve the error? Here’s a portion of the error.

source: ErrorMetadata { code: Some("MetadataTooLarge"), message: Some("Your metadata headers exceed the maximum allowed metadata size")

Interestingly make.com has a GET file module that doesn’t fail for the same requirement. I’m attempting to move away from that app to Okta workflows.

I tried the card API connector Get, with no credentials, and this card just spins, forcing a cancel.

Thanks

Hi @rcortez,

Does the URL work directly in the browser?

Do you know the file size?

There is a 2 GB file download limit (doc).

The URL on a browser shows the image.
The file is about 13kb.

Hi Max,

If it helps, the files are available in S3 for think an hour once the Notion record is created. The total number of characters in the url string is 1480. The longest portion is the security-token.

Thanks

This might be due to the URL length. It likely includes many URL-encodable characters (symbols, punctuation, etc.), which increases the length because those characters need to be URL encoded (increasing from 1 > 3 characters).

If reducing the URL length is an option, you could try that.

If that’s not an option, my advice is to create a support ticket so they can inspect what is happening on the back-end.

Hi Max,

I may try building a helper with functions and a table to create a shorter url, a hack. I’m not certain of the reliability.

I’ll open a ticket.

Thanks

Sounds good. Let us know what you find out.