Support Questions
Find answers, ask questions, and share your expertise

update processor using rest-api stopped working

Expert Contributor

Hi,

I was able to start/stop a processor using rest-api few days back but now getting the below error

I am updating the version to next number based on the GET response but it still throws same error

And I don't see the "status": {"runStatus": "Stopped"} instead I am seeing status": {"aggregateSnapshot": {"runStatus": "Stopped"} in the GET response...

Thanks,

Avijeet

[3, null, ceaab365-0158-1000-f3fe-0a9ec9ff1a48] is not the most up-to-date revision. This component appears to have been modified
1 ACCEPTED SOLUTION

Accepted Solutions

Expert Contributor

make sure the id is correct by first doing a get, it will give you the correct version id. you have to send the version id that get returns.

View solution in original post

4 REPLIES 4

Expert Contributor

make sure the id is correct by first doing a get, it will give you the correct version id. you have to send the version id that get returns.

View solution in original post

Expert Contributor

@Karthik Narayanan

I am getting "version": 2 and sending "version": 3 - but the error persists. After nifi restart also started with "version": 1 still same error.

Expert Contributor

send 2, don't send 3. it has to be the same version. it will become 3 when it gets modified.

Expert Contributor

thanks, not sure why I was sending 3...