Mayki created NIFI-8963:
---------------------------

             Summary: Request NIFI API - wrong client_id
                 Key: NIFI-8963
                 URL: https://issues.apache.org/jira/browse/NIFI-8963
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework, Core UI
    Affects Versions: 1.11.4
            Reporter: Mayki


Hello,

As I understand *client_id and version* is available to avoid same client api 
changed the state of component with the same version.

 

But sometime when I call NIFI API about the status of component, the 
"client_id" key is not available, so I can't change the status of compoent, 
even if I used *uuidgen* to create a new client_id before request a change 
status.

What is the better way to be sure that NIFI API accept request with the correct 
*client_id and revision?*

Because I got this error :
{code:java}
2021-07-30 17:16:24,669 :: ERROR :: Run time error: Unexpected result 400 for 
endpoint /controller-services/0175103a-db30-1020-2175-91439d12f0a8/run-status 
text result [1, 2fe4e253-1ace-4be1-86be-ca9dec7abfda, 
0175103a-db30-1020-2175-91439d12f0a8] is not the most up-to-date revision. This 
component appears to have been modified
{code}
Thanks for you help



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to