This illustration shows the green line that appears under the If action that checks if a Call Rest error has occured, where you are to add the Assign Variable action.