0

I saved a flow in JSON format, but when tried to load it as a template the following error appeared: "The specified template is not in a valid format".

enter image description here

I noticed the other templates I uploaded were XML files and not JSON. How can the template be saved as XML?

1 Answer 1

3

Saving a flow is a different action than saving a template. The template should be saved by "Create Template" action, which saves it in the templates list of the Nifi instance. Then, it is accessible via the Templates menu item:

enter image description here

Under the templates list, there is an option to download a selected template as an XML file. With that, the template can be exported and uploaded into another Nifi instance correctly without any error.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.