You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Vrinda Palod (Jira)" <ji...@apache.org> on 2023/05/22 10:09:00 UTC

[jira] [Created] (NIFI-11578) InvokeHttp is not working when setting client credentials as grant type

Vrinda Palod created NIFI-11578:
-----------------------------------

             Summary: InvokeHttp is not working when setting client credentials as grant type
                 Key: NIFI-11578
                 URL: https://issues.apache.org/jira/browse/NIFI-11578
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.21.0, 1.20.0
            Reporter: Vrinda Palod
         Attachments: image-2023-05-22-15-35-35-597.png, image-2023-05-22-15-38-28-096.png

Hi Team,

I am trying to run Invokrhttp using StandardOauth2AccessTokenProvider controller service. When I set client credentials in my Invokehttp method, it throws below error.


InvokeHTTP[id=32a98900-0188-1000-ffff-ffff88fdac58] Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to org.apache.nifi.processor.exception.ProcessException: OAuth2 access token request failed [HTTP 400]: org.apache.nifi.processor.exception.ProcessException: OAuth2 access token request failed [HTTP 400




 

 

Below is how I am setting up my controller service. There is no issue with endpoint url we are using.

!image-2023-05-22-15-38-28-096.png!

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)