"pollPushStatus" API method returning the Unix epoch time
search cancel

"pollPushStatus" API method returning the Unix epoch time

book

Article ID: 376596

calendar_today

Updated On:

Products

VIP Service

Issue/Introduction

VIP User Services API to authenticate a user with a Push. When customer call the "pollPushStatus" API method, the response is returning the Unix epoch time instead of the correct push authentication time. See AuthnTime in the following response:


<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<PollPushStatusResponse xmlns="https://schemas.symantec.com/vip/2011/04/vipuserservices">
<requestId>testing_pollpushstatus</requestId>
<status>0000</status>
<statusMessage>Success</statusMessage>
<transactionStatus>
<transactionId>12345678</transactionId>
<status>7000</status>
<statusMessage>Mobile push request approved by user</statusMessage>
<authnTime>1970-01-01T00:00:00.000Z</authnTime>
<credentialId>SYMC12345678</credentialId>
<credentialType>STANDARD_OTP</credentialType>
</transactionStatus>
</PollPushStatusResponse>
</S:Body>
</S:Envelope>

Environment

VIP User Service

Resolution

authnTime parameter from the pollPushStatus() API call returns the Unix epoch time which is identified as a BUG, Symantec VIP Engineering team fixed the issue in the latest maintenance and currently the API returns the results in UTC time. Client side adjustments has to be done if any other TimeZone is required. Here is a screenshot of the response.