[ 
https://issues.apache.org/jira/browse/FINERACT-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047413#comment-18047413
 ] 

Bharath Gowda commented on FINERACT-2417:
-----------------------------------------

[~satvik0100] Thanks for looking up the root cause. Would you mind sharing the 
API and related details for the template to run report(execute report) from UI?

Since it is UI issue, it would be nice to mention what the issue is and what 
the expected fix is on the UI JIRA, and the details you share based on your 
findings will be helpful for the same

 

> Template Reports not working
> ----------------------------
>
>                 Key: FINERACT-2417
>                 URL: https://issues.apache.org/jira/browse/FINERACT-2417
>             Project: Apache Fineract
>          Issue Type: Improvement
>    Affects Versions: 1.13.0
>            Reporter: Bharath Gowda
>            Priority: Major
>             Fix For: 1.15.0
>
>         Attachments: Screenshot 2025-12-12 at 11.34.33 AM.png, 
> image-2025-12-11-19-38-36-915.png, image-2025-12-12-11-39-40-963.png, 
> image-2025-12-12-11-39-49-125.png
>
>
> To reproduce the issue
>  
> 1. Create a sample template for the client or loan entity.
>      under Admin->Templates->create template
> 2. Execute the report from the client/loan screen respectively
>      Under the client screen->menu->more->client screen reports,
>      select the created report and generate the report.
>  
> System is throwing a 404 OK error
> Expected Fix
>  # If the API is used in UI to generate the template report exists or wrong 
> API
>  ## If wrong API data, could anyone help with the correct API and body for 
> running the template reports?
>  # Is this a backend bug?
>  ## If yes, please help in fixing the same with the below example API and 
> response.
>  
>  
> Full error example
> API
> [https://URL/fineract-provider/api/v1/templates/1?clientId=10|https://url/fineract-provider/api/v1/templates/1?clientId=10]
> body: "{}"
> "accept": "application/json, text/plain, */*",
> "accept-language": "en-IN,en-GB;q=0.9,en-US;q=0.8,en;q=0.7",
>  "authorization": "Basic Y2hhcmxlczpDaGFybGVzQDEyMyM=",
> "fineract-platform-tenantid": "default",
>  
> Error Response
>  
> {"developerMessage":"The requested resource is not 
> available.","httpStatusCode":"404","defaultUserMessage":"The requested 
> resource is not 
> available.","userMessageGlobalisationCode":"error.msg.resource.not.found","errors":[\{"defaultUserMessage":"Template
>  with url 
> https://tomcat/fineract-provider/api/clients/10?tenantIdentifier=default not 
> allowed","parameterName":"id","developerMessage":"Template with url 
> https://tomcat/fineract-provider/api/clients/10?tenantIdentifier=default not 
> allowed","userMessageGlobalisationCode":"error.msg.template.url.forbidden","args":[]}]}
>  
>  
> Expected result
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to