Support Questions

Find answers, ask questions, and share your expertise

update processor using rest-api stopped working

avatar
Super Collaborator

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

avatar
Super Collaborator

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

avatar
Super Collaborator

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.

avatar
Super Collaborator

@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.

avatar
Super Collaborator

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

avatar
Super Collaborator

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