MDM terms & condition cannot be accepted when 24-Hours Time is disabled in the iOS device.
server log:
2015-04-13T07:14:58-07:00 FE: level=WARNING,function=set_mdm_tnc_status,line=270,tenant=XXX,username=xxx,sessionid=00000000000,url=/appstore/api6/156165652151551515/set_mdm_tnc_status.json,msgid=,msg=BAD_INPUT_TNC_TIMESTAMP,tnc_timestamp_str=2015-04-13-2:14:58 p.m.,Exception=ValueError: time data '2015-04-13-2:14:58 p.m.' does not match format '%Y-%m-%d-%H-%M-%S'
- Device log:
================POST ERROR<<<<<<<<<<<<<<<<
HEADER: <AFHTTPRequestOperation: 0x15ec31c0, state: isFinished, cancelled: NO request: <NSMutableURLRequest: 0x15e4f250> { URL: https://appcente.com/appstore/api6/2537/set_mdm_tnc_status.json }, response: <NSHTTPURLResponse: 0x15de3d20> { URL: https://appcenter.com/appstore/api6/2537/set_mdm_tnc_status.json } { status code: 400, headers {
Connection = "keep-alive";
"Content-Language" = en;
"Content-Length" = 90;
"Content-Type" = "application/json";
Date = "Tue, 14 Apr 2015 10:14:43 GMT";
Server = "Apache/2.2.15 (CentOS)";
"Set-Cookie" = "device-hash=257; expires=Wed, 13-Apr-2016 16:03:29 GMT; Max-Age=31556926; Path=/, sessionid=izz, httponly; Path=/; secure, AWSELB=31BF29;PATH=/;SECURE;HTTPONLY";
Vary = "Accept-Language,Cookie";
} }>
ERROR: Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: bad request (400)" UserInfo=0x15d6e3d0 {com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x15de3d20> { URL: https://appcenter.com/appstore/api6/37/set_mdm_tnc_status.json } { status code: 400, headers {
To work-around this issue, please enable the "24-Hour Time" (iOS device go to Settings > General > Date & Time). This issue is under investigation by the development team, please subscribe to this article for further updates or place a call with Support.
Applies To
Symantec Mobility Suite 5.2