000037123 - RSA Adaptive Authentication (OnPrem) 7.x - PassMarkException: Invalid input string (Day must exist and must be 2 digits)

Document created by RSA Customer Support Employee on Feb 1, 2019Last modified by RSA Customer Support Employee on May 13, 2019
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000037123
Applies ToRSA Product Set: Adaptive Authentication (OnPrem)
RSA Product/Service Type: Adaptive Authentication (OnPrem)
RSA Version/Condition: 7.x
IssueError found in the logs:
 

Exception Details
Type:    PassMarkException
Exception Class:    com.rsa.csd.api.PassMarkException
Message:    Invalid input string: 2019-01-01 11:13:00 (Day must exist and must be 2 digits)



 
CauseThere is a problem with the timestamp that is passed in the SOAP requests. This exception that appears in the log is due to "Invalid time format". The time format should be in ISO 8601.
ResolutionSend the date values in the right ISO 8601 format, e.g. 1994-11-05T13:15:30Z
NotesThe ISO 8601 format:
Complete date plus hours, minutes and seconds:
YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00)
Or
YYYYMMDDThhmmssTZD (eg 19970716T192030+01:00)
Where:
YYYY = four-digit year
MM = two-digit month (01=January, etc.)
DD = two-digit day of month (01 through 31)
hh = two digits of hour (00 through 23) (am/pm NOT allowed)
mm = two digits of minute (00 through 59)
ss = two digits of second (00 through 59)
TZD = time zone designator (Z or +hh:mm or -hh:mm)
This profile defines two ways of handling time zone offsets:
  1. Times are expressed in UTC (Coordinated Universal Time), with a special UTC designator ("Z").
  2. Times are expressed in local time, together with a time zone offset in hours and minutes. A time zone offset of "+hh:mm" indicates that the date/time uses a local time zone which is "hh" hours and "mm" minutes ahead of UTC. A time zone offset of "-hh:mm" indicates that the date/time uses a local time zone which is "hh" hours and "mm" minutes behind UTC.

1994-11-05T08:15:30-05:00 corresponds to November 5, 1994, 8:15:30 am, US Eastern Standard Time.
1994-11-05T13:15:30Z corresponds to the same instant.

Attachments

    Outcomes