External URL - Redirect Problem

I my geting the URL in one API after that I’m saving that URL on the table (API_Rest).
If I pick that URL from the DB and copy on the chrome I’m getting the file.
But if I use the ExternalURL he give me error.

Example :
Link URL from DB -1. —disposition=attachment%3B%20filename%3D%22Shipping-Note-draft_187831252.pdf%22&response-content-type=application%2Fpdf&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZNTMQS3U4GIGRO6W%2F20230504%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20230504T150200Z&X-Amz-Expires=597600&X-Amz-SignedHeaders=host&X-Amz-Signature=b7f6d8ca1d88fff5fddb97a89f6d3016f86cd275ae87fcfdd37335d553ac9cd5

Link use External URL - --disposition=attachment%3B%20filename%253D%22Shipping-Note-draft_187515237.pdf%22&response-content-type=application%252Fpdf&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZNTMQS3U4GIGRO6W%252F20230428%252Feu-west-1%252Fs3%252Faws4_request&X-Amz-Date=20230428T083531Z&X-Amz-Expires=597600&X-Amz-SignedHeaders=host&X-Amz-Signature=3b5b53d58f9023d3990f2437497fe68ec82a4949a82666b9e06173499fbb84f3

The diference between the URL is after the % is adding 25 that is the ASCII is %

I alreday use decode wihout success.

Hi @PedroBaptista,

This is an old issue - if you search with the keywords “url with %25”, you will find some topics on that. First mentions more than 2 years ago, and still not solved :frowning:

What I’d do is trying to use some URL shortener service + Make and store the short URL in the DB Collection record.

Best,
Victor.

Thanks @Victor :slight_smile:

1 Like

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