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
BadRequestException: sample parameter size must fall in the range (1, 500) #1890
Comments
ssuvorov-fls
added a commit
to OHDSI/Atlas
that referenced
this issue
Jun 10, 2021
This was referenced Jun 10, 2021
ssuvorov-fls
added a commit
that referenced
this issue
Jun 11, 2021
anton-abushkevich
pushed a commit
that referenced
this issue
Jun 15, 2021
anton-abushkevich
pushed a commit
to OHDSI/Atlas
that referenced
this issue
Jun 15, 2021
…/WebAPI#1890) (#2554) Co-authored-by: Sergey Suvorov <sergey.suvorov@odysseusinc.com>
ssuvorov-fls
added a commit
that referenced
this issue
Jun 15, 2021
ssuvorov-fls
added a commit
to OHDSI/Atlas
that referenced
this issue
Jun 15, 2021
…/WebAPI#1890) (#2554) Co-authored-by: Sergey Suvorov <sergey.suvorov@odysseusinc.com> (cherry picked from commit b5ee9ff)
m0nhawk
pushed a commit
to uc-cdis/WebAPI
that referenced
this issue
Nov 1, 2021
* BadRequest exception handling was added Some translations were changed(OHDSI#1892) * Some translations were changed(OHDSI#1890) Co-authored-by: Sergey Suvorov <sergey.suvorov@odysseusinc.com>
m0nhawk
pushed a commit
to uc-cdis/Atlas
that referenced
this issue
Nov 1, 2021
…/WebAPI#1890) (OHDSI#2554) Co-authored-by: Sergey Suvorov <sergey.suvorov@odysseusinc.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
webapi 2.9
Expected behavior
The sample is successful generated or some human-readable error
Actual behavior
2021-06-02 07:45:23.438 ERROR 36 --- [nio-8080-exec-5] o.o.w.u.GenericExceptionMapper : javax.ws.rs.BadRequestException: sample parameter size must fall in the range (1, 500) at org.ohdsi.webapi.cohortsample.dto.SampleParametersDTO.validate(SampleParametersDTO.java:39) at org.ohdsi.webapi.service.CohortSampleService.createCohortSample(CohortSampleService.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
Steps to reproduce behavior
1)Generate any cohort
2)Samples
3)Enter the number of patients greater than 500
The text was updated successfully, but these errors were encountered: