AnsweredAssumed Answered

Oauth2 failing with error

Question asked by akhajooei272797 on Sep 23, 2016
Latest reply on Oct 10, 2017 by sgurram.ct847009

Hi,

 

I am trying to get the token from an endpoint using Oauth2. However I get the error:

 

Test execution of Update Learning Results completed with errors. Embedded message: Severe errors occurred during start shape execution, terminating process.; Caused by: (-1) - Unable to set HTTP OAuth2 Authorization on connection. Unable to build OAuth 2.0 Header. The Auth Token is null.; Caused by: Unable to set HTTP OAuth2 Authorization on connection. Unable to build OAuth 2.0 Header. The Auth Token is null.; Caused by: Unable to build OAuth 2.0 Header. The Auth Token is null.

 

I am not sure why and would really appreciate your help. below is my connector and operation:

 

 

the request has three parameters:

 

Body JSON

client_id:
required
string

Your unique client ID

client_secret:
required
string

Your unique secret key

grant_type:
required
stringclient_credentials

Static string

 

Outcomes