Fix exception mock request builder

Issue: SPR-11043