UBS transfer


I’ve transferred money from a UBS CHF account to my revolut CHF account.
When doing the transfer, I’ve filled the reference field with the Revolut account reference but UBS portal indicates that reference field is not used in non SEPA transfers (SEPA being applicable to EUR transfers only).
Then after waiting a day and a half for the funds to show on my revolut account, I contacted Revolut support so that they could remedy the situation and assign the funds. When I inquired about the reason for the delay Revolut support mentioned the reference was missing from the transfer.
Has anybody had that issue? Any idea how to avoid it (maybe manage the transfer differently on the UBS portal?).
Thank you