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

Unable to invoke Subject GET API with Concept filters #821

Open
2 tasks
himeshr opened this issue Nov 14, 2024 · 0 comments
Open
2 tasks

Unable to invoke Subject GET API with Concept filters #821

himeshr opened this issue Nov 14, 2024 · 0 comments

Comments

@himeshr
Copy link
Contributor

himeshr commented Nov 14, 2024

Describe the bug
During invocation of Avni External Subject GET API, with Concept filter, receiving error that concept name doesnot exist, even though it does.

2024-11-14 13:03:30,463 ERROR SpringTaskScheduler-3 [avni.client.AvniHttpClient] URI: https://app.avniproject.org/api/subjects?lastModifiedDateTime=2024-10-18T07:02:14.151Z&size=10&concepts=%7B%22Account%20name%22:%22Goonj%20Kerala%22%7D&subjectType=Activity, Errored Request body: null
2024-11-14 13:03:30,464 ERROR SpringTaskScheduler-3 [goonj.job.AvniGoonjAdhocJob] Failed adhoc processActivity
org.springframework.web.client.HttpClientErrorException$BadRequest: 400 : "org.avni.server.util.BadRequestError: Bad Request: One of the specified concept(Account name) does not exist<LF>	at org.avni.server.service.ConceptService.readConceptsFromJsonObject(ConceptService.java:361)

Expected behavior
Subject API should return successful response with results that match input concept and other filter values criteria.

Additional details

  • Impact is not too much for Goonj integration as of now.
  • LAHI integration used Concept filter based Subjects GET, but isn't active right now

Developer Checklist
Developer fixing the bug should fill this checklist.

  • Does the fix require extensive regression testing?
  • Are you mentioning the required scenarios that could be affected?
@github-project-automation github-project-automation bot moved this to New Issues in Avni Product Nov 14, 2024
@mahalakshme mahalakshme moved this from New Issues to Triaged in Avni Product Nov 14, 2024
@mahalakshme mahalakshme moved this from Triaged to In Analysis in Avni Product Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Analysis
Development

No branches or pull requests

1 participant