0 Replies Latest reply on May 14, 2015 5:42 AM by fmohan

    Why is it necessary to specify the timezone when updating Person from the iOS API ?

    fmohan

      Hi all, when we try to Update a Person we are getting a strange error about TimeZone. Any ideas why including the Timezone would be necessary ?

      Fergal

       

      [self.me updateOnComplete:^(JivePerson *person){

                  NSLog(@"tags:%@",person.tags);

              } onError:^(NSError *err){

                  NSLog(@"%@",err.description);

              }];

       

       

       

      2015-05-13 17:36:14.093 xxxxxxxx[47204:761061] Error Domain=Jive Code=-1011 "Expected status code in (200-299), got 400" UserInfo=0x7fd61b49cd80 {JiveErrorHTTPStatusCode=400, JiveErrorJSON=<CFBasicHash 0x7fd61b43a8b0 [0x10bdf1180]>{type = immutable dict, count = 2,

      entries =>

      0 : <CFString 0x7fd61b44fcc0 [0x10bdf1180]>{contents = "message"} = <CFString 0x7fd61b495ae0 [0x10bdf1180]>{contents = "Invalid time zone Asia/Shanghai"}

      1 : <CFString 0x7fd61b41a8b0 [0x10bdf1180]>{contents = "status"} = <CFNumber 0xb000000000001903 [0x10bdf1180]>{value = +400, type = kCFNumberSInt64Type}

      }

       

      , NSLocalizedRecoverySuggestion=Invalid time zone Asia/Shanghai, NSUnderlyingError=0x7fd61b485af0 "Expected status code in (200-299), got 400", NSLocalizedDescription=Expected status code in (200-299), got 400}