Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeOutException after carp.error-datum upload #221

Closed
MadsVSChristensen opened this issue Oct 26, 2021 · 1 comment
Closed

TimeOutException after carp.error-datum upload #221

MadsVSChristensen opened this issue Oct 26, 2021 · 1 comment

Comments

@MadsVSChristensen
Copy link

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<…>
@bardram bardram changed the title Timeoutexception after carp.error-datum upload TimeOutException after carp.error-datum upload Oct 27, 2021
bardram added a commit that referenced this issue Oct 27, 2021
@bardram
Copy link
Contributor

bardram commented Oct 27, 2021

Fixed in release 0.31.1

@bardram bardram closed this as completed Oct 27, 2021
bardram added a commit that referenced this issue Oct 28, 2021
bardram added a commit that referenced this issue Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants