Fix exceptions if data required for the .setlocation response does not exist in the API