That is what happend to me with Prixtel, after testing other esim providers..
You can run from commandline the lpac command to see the error, like
LPAC_APDU_GBINDER_UIM_SLOT=2 LPAC_APDU=gbinder lpac profile download
(see -h I don’t remember the exact parameters, I just have this command noted).
You can help warn others by updating the eSIM support wiki with your carrier..
(What I ended up doing because it was my main number, was to flash lineage back
and sideload MindTheGapps so I can add the eSiM
)