pucardotorg / Dristi_kerala

For Pucar Solutions team
0 stars 3 forks source link

Dev | Upload Witness Deposition_Proceed button not working. #853

Open kashish384 opened 2 months ago

kashish384 commented 2 months ago

Api error___

Image

curl:

curl 'https://dristi-kerala-dev.pucar.org/hearing/witnessDeposition/v1/uploadPdf?applicationNumber=&cnrNumber=&_=1724906856637' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0' -H 'Accept: application/json, text/plain, /' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'Content-Type: application/json;charset=utf-8' -H 'Origin: https://dristi-kerala-dev.pucar.org' -H 'Connection: keep-alive' -H 'Referer: https://dristi-kerala-dev.pucar.org/digit-ui/employee/hearings/inside-hearing?hearingId=HEARING-ID-2024-08-28-000388' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' -H 'Priority: u=0' --data-raw '{"tenantId":"kl","hearing":{"id":"33f8a3b6-6de9-4392-86ac-ffd0157a14c3","tenantId":"kl","hearingId":"HEARING-ID-2024-08-28-000388","filingNumber":["F-C.1973.002-2024-001122"],"cnrNumbers":["KLJL01-001122-2024"],"applicationNumbers":[],"hearingType":"PLEA","status":"INPROGRESS","startTime":1724889600000,"endTime":1724889600000,"presidedBy":null,"attendees":[{"name":"Bhuvanyu Guru","individualId":"IND-2024-07-15-000232","type":"Complainant","associatedWith":null,"wasPresent":null,"isOnline":null},{"name":"Mitran Nu Shounk Hathiyaraan Da","individualId":null,"type":"Complainant","associatedWith":null,"wasPresent":null,"isOnline":null},{"name":"Babbu Mann","individualId":null,"type":"Complainant","associatedWith":null,"wasPresent":null,"isOnline":null},{"name":"Bhuvi Adv","individualId":"IND-2024-08-28-000561","type":"Advocate","associatedWith":null,"wasPresent":null,"isOnline":null}],"transcript":[],"vcLink":null,"isActive":false,"documents":[{"documentType":"SIGNED","fileStore":"99fd5399-dbb9-4b95-8727-bf2dc5da8c37"}],"additionalDetails":{"witnessDepositions":[{"uuid":"3963f645-2d1d-4c4b-a8fd-2de86f13e846","emails":{"emailId":["test@gmail.com"],"textfieldValue":""},"lastName":"Mann","firstName":"Babbu","phonenumbers":{"mobileNumber":["8888888888"],"textfieldValue":""},"addressDetails":[{"id":"56415347-a805-4a55-9c68-8fbe4784c75c","addressDetails":{"city":"Chandigarh","state":"Chandigarh","pincode":"160047","district":"Chandigarh","locality":"Sector 50, Progressive Enclave","coordinates":{"latitude":30.697951043324117,"longitude":76.75084708993569}}}],"deposition":"hkgfffffffffffffffffffffj"}]},"auditDetails":{"createdBy":"d9afd7c0-8c69-4a41-aba4-9ffecb143dd8","lastModifiedBy":"deafb089-b64c-4965-9209-d120a0e31421","createdTime":1724865525334,"lastModifiedTime":1724906707440},"workflow":null,"notes":null},"hearingType":"","status":"","RequestInfo":{"apiId":"Rainmaker","authToken":"44634be3-984a-4ed2-89c6-f9ec4f331e6f","userInfo":{"id":527,"uuid":"deafb089-b64c-4965-9209-d120a0e31421","userName":"guruj","name":"Guru Judge","mobileNumber":"1002335566","emailId":null,"locale":null,"type":"EMPLOYEE","roles":[{"name":"HEARING_VIEWER","code":"HEARING_VIEWER","tenantId":"kl"},{"name":"DEPOSITION_EDITOR","code":"DEPOSITION_EDITOR","tenantId":"kl"},{"name":"WORKFLOW_ABANDON","code":"WORKFLOW_ABANDON","tenantId":"kl"},{"name":"ORDER_ESIGN","code":"ORDER_ESIGN","tenantId":"kl"},{"name":"Workflow Admin","code":"WORKFLOW_ADMIN","tenantId":"kl"},{"name":"DEPOSITION_PUBLISHER","code":"DEPOSITION_PUBLISHER","tenantId":"kl"},{"name":"TASK_APPROVER","code":"TASK_APPROVER","tenantId":"kl"},{"name":"HEARING_START","code":"HEARING_START","tenantId":"kl"},{"name":"HEARING_APPROVER","code":"HEARING_APPROVER","tenantId":"kl"},{"name":"APPLICATION_RESPONDER","code":"APPLICATION_RESPONDER","tenantId":"kl"},{"name":"ORDER_VIEWER","code":"ORDER_VIEWER","tenantId":"kl"},{"name":"ORDER_REASSIGN","code":"ORDER_REASSIGN","tenantId":"kl"},{"name":"CASE_EDITOR","code":"CASE_EDITOR","tenantId":"kl"},{"name":"TASK_CREATOR","code":"TASK_CREATOR","tenantId":"kl"},{"name":"APPLICATION_APPROVER","code":"APPLICATION_APPROVER","tenantId":"kl"},{"name":"HEARING_DATE_REQUESTOR","code":"HEARING_DATE_REQUESTOR","tenantId":"kl"},{"name":"Employee","code":"EMPLOYEE","tenantId":"kl"},{"name":"CASE_VIEWER","code":"CASE_VIEWER","tenantId":"kl"},{"name":"APPLICATION_REJECTOR","code":"APPLICATION_REJECTOR","tenantId":"kl"},{"name":"ORDER_APPROVER","code":"ORDER_APPROVER","tenantId":"kl"},{"name":"HEARING_CLOSER","code":"HEARING_CLOSER","tenantId":"kl"},{"name":"ORDER_CREATOR","code":"ORDER_CREATOR","tenantId":"kl"},{"name":"JUDGE_ROLE","code":"JUDGE_ROLE","tenantId":"kl"},{"name":"CASE_APPROVER","code":"CASE_APPROVER","tenantId":"kl"},{"name":"DEPOSITION_CREATOR","code":"DEPOSITION_CREATOR","tenantId":"kl"},{"name":"SUBMISSION_APPROVER","code":"SUBMISSION_APPROVER","tenantId":"kl"},{"name":"TASK_VIEWER","code":"TASK_VIEWER","tenantId":"kl"},{"name":"HEARING_SCHEDULER","code":"HEARING_SCHEDULER","tenantId":"kl"}],"active":true,"tenantId":"kl","permanentCity":null},"msgId":"1724906856636|en_IN","plainAccessRequest":{}}}'

response:

{"ResponseInfo":null,"Errors":[{"id":"NoResourceFoundException","parentId":null,"code":"An unhandled exception occurred on the server","message":"No static resource witnessDeposition/v1/uploadPdf.","description":null,"params":null}]}

kashish384 commented 1 month ago

fixed