I am new to working with Celigo and seem to have run up against a brick wall trying to get an Oauth2 token to use in making REST API calls. I can make them all work correctly in Postman yet I keep getting errors in Celigo when I "test" the setup. Here is the call that I use to get the token: (values changed...)
Which I can then take the token and then use it to call REST API calls and return data correctly. In my integration, I have the HTTP call setup first to retrieve the token then a REST call to then handle the data retrieval from the outside API. The "base URI" for the API methods is different: "https://api.target.us/v1" hence both an HTTP connection to get the the token then a REST API once the token has been retrieved. My problem is that it seems no matter how I try and setup the Oauth2 HTTP connection, it always errors out. (Yes I have read and followed the "Setup an Oauth2 HTTP connection..." many times! I continually get a "Bad Request" during testing. Any help would be appreciated.
Hi @paulsiegerist314 - Thanks for posting this to the community. I'm reaching out to some internal folks to see if someone can assist here. However, you may also want to open a Support ticket.
Srilekha-Tirumala, thank you for the "guide" and it works correctly now! I am guessing that because you added the "POST" in with a fake value that each time the API is called, it will retrieve a new token, so that one does not need to worry about their "timeout" property?