Wrap it in try-catch.
Catches errors in "mapToUrlFormEncodedPostBody"