Error while installing /e/ on sony Xperia XA2

Were you trying to downgrade from Pie to Oreo. While testing our Pie code we saw bootloops on multiple devices when trying to downgrade the OS. The solution was to revert to Stock Pie builds. Then installing latest TWRP and then for /e/ also the build had to be a Pie build.