Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to give Access policies for template and Creating template instance via rest api

avatar
Contributor

I am using rest-api of nifi to upload a template, create instance of it, modify processors and run. I am able to do this with http protocol.

Now, I secured my nifi with https and user credentials. I am trying to achieve the same (upload, create instance, etc) with rest-api.

I need to change the policies on uploaded template before creating the instance everytime and again on the template instance to modify it. Is it the correct behaviour of nifi or am I missing something?

Also, after creating the instance of template it gives "500 Internal Server Error" and I cannot get the id of the instance from api.

1 ACCEPTED SOLUTION

avatar
Contributor

No, there are no logs in nifi-app.log file, The issue is solved now.. thanks for replying. Issue was with authorizations.xml which had policies for old instance. I cleaned that and its working fine now.

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

do you have any logs for the internal server error. It may be in the nidi-app.log file.

avatar
Contributor

No, there are no logs in nifi-app.log file, The issue is solved now.. thanks for replying. Issue was with authorizations.xml which had policies for old instance. I cleaned that and its working fine now.