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
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
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
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login