cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

de.tsystems.mms.apm.performancesignature.dynatracesaas.rest.CommandExecutionException: error while creating event:

somayajulaas
Newcomer

Gettng an 400 error when the createDynatraceRecordSession with start time 0 and end time 0.


de.tsystems.mms.apm.performancesignature.dynatracesaas.rest.CommandExecutionException: error while creating event: {"error":{"code":400,"message":"The start timestamp is greater than the end timestamp. Start: 1570058843963. End: 1570058843490"}} Stacktrace: de.tsystems.mms.apm.performancesignature.dynatracesaas.rest.ApiException: Bad Request     at de.tsystems.mms.apm.performancesignature.dynatracesaas.rest.ApiClient.handleResponse(ApiClient.java:251)     at de.tsystems.mms.apm.performancesignature.dynatracesaas.rest.ApiClient.execute(ApiClient.java:223)     at de.tsystems.mms.apm.performancesignature.dynatracesaas.rest.DynatraceServerConnection.createEvent(DynatraceServerConnection.java:143)     at de.tsystems.mms.apm.performancesignature.dynatracesaas.DynatraceCustomSessionStepExecution.run(DynatraceCustomSess

2 REPLIES 2

In general you can’t provide timestamps for start and and as 0.

Sebastian


somayajulaas
Newcomer

agreed, but the start time seems to be working if I hard code it. setting it as a variable with the System.currentMillisTimes() doesn't seem to be working either.