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

Missing Gene Panel Data causing api error #11161

Open
barykada90 opened this issue Nov 5, 2024 · 0 comments
Open

Missing Gene Panel Data causing api error #11161

barykada90 opened this issue Nov 5, 2024 · 0 comments

Comments

@barykada90
Copy link

Hi there,
Whilst updating from v6.0.2 to the latest, we found out that some of our studies which don't have Gene Panel data (not mandatory) are failed to load the study view, resulting in the following error from the /api/gene-panel-data/fetch

I've narrowed it down to front-end version v6.0.5 where StudyViewPage.tsx has been altered with multiple lines, one of them, I believe, causing the issue:
(865) genePanelDataForAllProfiles={
this.store
.genePanelDataForAllProfiles
.result
}

Right now, we're running non-dockerised cbio, 6.0.17 with front-end (in pom.xml) of v6.0.4 which is fine. As soon as I upgrade to v6.0.5 the error comes up and users are unable to view the study summary page.

Full error:
1: interceptedGenePanelDataMultipleStudyFilter size must be between 1 and 10000000

{"req":{"method":"POST","url":"//REDACTED/api/gene-panel-data/fetch","data":{"molecularProfileIds":[]},"headers":{"accept":"application/json","content-type":"application/json"}},"xhr":{},"text":"{\"message\":\"interceptedGenePanelDataMultipleStudyFilter size must be between 1 and 10000000\"}","statusText":"","statusCode":400,"status":400,"statusType":4,"info":false,"ok":false,"redirect":false,"clientError":true,"serverError":false,"error":{"status":400,"method":"POST","url":"//REDACTED/api/gene-panel-data/fetch"},"created":false,"accepted":false,"noContent":false,"badRequest":true,"unauthorized":false,"notAcceptable":false,"forbidden":false,"notFound":false,"unprocessableEntity":false,"headers":{"cache-control":"no-cache, no-store, max-age=0, must-revalidate","content-length":"93","content-type":"application/json","date":"Fri, 01 Nov 2024 15:58:03 GMT","expires":"0","pragma":"no-cache","strict-transport-security":"max-age=31536000 ; includeSubDomains","vary":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers","x-content-type-options":"nosniff","x-firefox-spdy":"h2","x-frame-options":"DENY","x-xss-protection":"0"},"header":{"cache-control":"no-cache, no-store, max-age=0, must-revalidate","content-length":"93","content-type":"application/json","date":"Fri, 01 Nov 2024 15:58:03 GMT","expires":"0","pragma":"no-cache","strict-transport-security":"max-age=31536000 ; includeSubDomains","vary":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers","x-content-type-options":"nosniff","x-firefox-spdy":"h2","x-frame-options":"DENY","x-xss-protection":"0"},"type":"application/json","links":{},"body":{"message":"interceptedGenePanelDataMultipleStudyFilter size must be between 1 and 10000000"},"url":"https://REDACTED/study/summary?id=REDACTED"}

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

1 participant