How can we handle Callback URL redirection in FD serverless app?

Hi Rohan,

Do you happen to see any errors when you try to run the app locally? After 1 hr?

Also, I’d direct message you to collect you App ID, Account ID and the time when you saw this issue to find out what error is being seen.

Hi Saif,

Errors we are getting from the SMS api after around 1 hour are that token has expired. It get’s renewed when we click on reauthorize whereas it should happen automatically.

LOGS are below:
2020-05-27T09:10:25.883Z {“appDetails”:“1_27397_69416_1364044”,“categoryName”:“productEvent_onTicketUpdate”,“logSource”:“APP”,“RequestId”:“productID::1|accountID::1364044|model::ticket|action::update|id:81013064295|messageID::9df3ccd6-cb15-4e5e-9f65-fe134a611871”,“type”:“info”,“message”:“Hello 5”}
2020-05-27T09:10:25.883Z {“appDetails”:“1_27397_69416_1364044”,“categoryName”:“productEvent_onTicketUpdate”,“logSource”:“APP”,“RequestId”:“productID::1|accountID::1364044|model::ticket|action::update|id:81013064295|messageID::9df3ccd6-cb15-4e5e-9f65-fe134a611871”,“type”:“info”,“message”:“true”}
2020-05-27T09:10:25.883Z {“appDetails”:“1_27397_69416_1364044”,“categoryName”:“productEvent_onTicketUpdate”,“logSource”:“APP”,“RequestId”:“productID::1|accountID::1364044|model::ticket|action::update|id:81013064295|messageID::9df3ccd6-cb15-4e5e-9f65-fe134a611871”,“type”:“info”,“message”:“destinationMobileNumber95null”}
2020-05-27T09:10:27.004Z {“appDetails”:“1_27397_69416_1364044”,“categoryName”:“productEvent_onTicketUpdate”,“logSource”:“APP”,“RequestId”:“productID::1|accountID::1364044|model::ticket|action::update|id:81013064295|messageID::9df3ccd6-cb15-4e5e-9f65-fe134a611871”,“type”:“error”,“message”:“error { status: 500,\n headers:\n { date: ‘Wed, 27 May 2020 09:10:26 GMT’,\n ‘content-type’: ‘application/json’,\n ‘content-length’: ‘449’,\n connection: ‘close’,\n ‘www-authenticate’:\n ‘Bearer realm=“null”,error=“invalid_token”,error_description=“keymanagement.service.access_token_expired: Access Token expired”’ },\n response:\n { transactionId: ‘’,\n timeStamp: ‘2020-05-27T15:40:26+06:30’,\n id: { type: ‘MSISDN’, value: ‘’ },\n code: ‘500.032.006’,\n error: ‘Internal Server Error’,\n message:\n ‘Invalid ApiKey/AccessToken for given resource or Token expired’ },\n attempts: 1,\n errorSource: ‘APP’ }”}