Help

Remove Byte Marks "%EF%BB%BF" added to Formula URL

Solved
Jump to Solution
1126 4
cancel
Showing results for 
Search instead for 
Did you mean: 
Tiberius
6 - Interface Innovator
6 - Interface Innovator

Hi, I am generating a URL by concatenating a URL string and then the Airtable record ID. Between my URL string and that ID, there is always a byte mark like “%EF%BB%BF” added (for example, when using the URL in an email automation). Any way to remove that since the URL leads to a 404 otherwise?

1 Solution

Accepted Solutions
Justin_Barrett
18 - Pluto
18 - Pluto

I helped someone else with this exact issue the other day, though the data was different (a number, not a URL):

How are you creating the ID? Your latest example is using a field reference, so my hunch is that this field is likely a formula that uses the RECORD_ID() function. However, this function can be added directly to your other formula:

"URL-String" & RECORD_ID()

If you still get the BOM, you could try wrapping one or both pieces in the TRIM() function, which is supposed to strip whitespace from the ends.

"URL-String" & TRIM(RECORD_ID())

…or…

TRIM("URL-String") & TRIM(RECORD_ID())

See Solution in Thread

4 Replies 4
Per_Carlen
7 - App Architect
7 - App Architect

How are you concatinating the the URL string and the record ID? I don’t get a BOM when I concatenate and send that URL in an email. I get som extra text string though. Weird.

Tiberius
6 - Interface Innovator
6 - Interface Innovator

I did CONCATENATE(“URL-String”, {Record ID})
Or just “URL-String” & {Record ID}. Both caused the BOM.

Justin_Barrett
18 - Pluto
18 - Pluto

I helped someone else with this exact issue the other day, though the data was different (a number, not a URL):

How are you creating the ID? Your latest example is using a field reference, so my hunch is that this field is likely a formula that uses the RECORD_ID() function. However, this function can be added directly to your other formula:

"URL-String" & RECORD_ID()

If you still get the BOM, you could try wrapping one or both pieces in the TRIM() function, which is supposed to strip whitespace from the ends.

"URL-String" & TRIM(RECORD_ID())

…or…

TRIM("URL-String") & TRIM(RECORD_ID())

That worked, thank you!