LPS-49690 Throwing a more specific error with message