After approving it is causing an error on General policy wording,
{“pdfTemplateKey”:“document”,“metadata”:{“alpha_training:cid”:905},“policy_id”:905,“name_space”:“alpha_training:metadata”,“quote_id”:905,“contentId”:1,“relative_path”:905,“contentType”:“alpha-training-docs”,“cid”:905}
3 Likes
Eldho
December 17, 2024, 2:16pm
2
3 Likes
Eldho
December 18, 2024, 4:46am
3
@AdithyaSiva its resolved please
3 Likes
Hey @AdithyaSiva , Can you please post the screenshot of the entire screen including the address bar also?
Thannks
3 Likes
For which task is this error occurring?
Also, please post the the full error for that specific request.
Thanks
3 Likes
It is on Process Instance: 16524 on Business Central for sandbox .
20-Dec-2024 00:01:01
is the last update time ,
instances : 16518 ,16523 ,16524
There are two human intervention task after both it stops on general Policy .
ERROR MESSAGE : org.kie.api.runtime.process.ProcessWorkItemHandlerException: org.jbpm.process.workitem.rest.RESTServiceException: Unsuccessful response from REST server (status 401, endpoint https://alpha-training.neutrinos-apps.com/api/generatepdf , response
anything more needed ?
3 Likes
It looks like the generate pdf API is expecting authenticated request but, is receiving unauthenticated request. Can you check the logs of the the generate pdf API and also, are are generating client token when sending this request from BPM?
3 Likes