Hello,
My question is essentially the same as this one, resolved on command line now, but seen again within PDI
"error":"client_too_new" attempting to get authentication token
I did execute the curl command on this same machine (windows) using cygwin successfully. Could the way I'm feeding the headers and parameters be my problem?
I've attached my transformation with the url and credentials redacted for anyone who might want to give it a try.
I don't use this step, but...
I believe that "Application Type" refers to how you are sending the data, not what you are willing to get back.
So I think you would want "FORM URLENCODED" rather than JSON
Similarly, if you make the field grant-type the full body of the request (grant_type=urn:hds:oauth:negotiate-client) and supply that as the Body Field
This should really leave you with two headers that you are manually adding: Accept and X-HCPAW-FSS-API-VERSION
Also remember to turn logging up to "Debug(Row Level)" and look at what is happening. It often provides really good clues.