[weather] sometimes the success code is a string, handle that