After trying to get battery datum on simulator, an error datum fails on upload. It is missing studyid and userid. This causes timeoutexceptions afterwards.
flutter: [CAMS INFO] Uploading data point to CARP - dk.cachet.carp.error
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: CarpServiceException: 400 Bad Request - Validation failed for argument [2] in public dk.cachet.carp.webservices.dataPoint.domain.DataPoint dk.cachet.carp.webservices.dataPoint.controller.DataPointController.create(java.lang.String,org.springframework.web.multipart.MultipartFile,dk.cachet.carp.webservices.dataPoint.dto.CreateDataPointRequestDto) with 2 errors: [Field error in object 'createDataPointRequestDto' on field 'carpHeader.studyId': rejected value [null]; codes [NotNull.createDataPointRequestDto.carpHeader.studyId,NotNull.carpHeader.studyId,NotNull.studyId,NotNull.java.lang.String,NotNull]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [createDataPointRequestDto.carpHeader.studyId,carpHeader.studyId]; arguments []; default message [carpHeader.studyId]]; default message [must not be null]] [Field error in object 'createDataPointRequestDto' on field 'carpHeader.userId': rejected value [null]; codes [No<…>
After trying to get battery datum on simulator, an error datum fails on upload. It is missing
studyid
anduserid
. This causes timeoutexceptions afterwards.