6
Views
0
Comments
[Asana Connector] [Asana Connector] The `refresh_token` parameter was missing
asana-connector
Web icon
Forge asset by OutSystems MVPs
Application Type
Traditional Web
Service Studio Version
11.54.11 (Build 62451)
Platform Version
11.22.0 (Build 39710)

Hi, 

After configuring Asana than AsanaConnectorDemo, I can accept the connection between the two. But, when, I'm going on the main page of the demo, i encouter an "internal error". The error log from OutSystems keeps saying :

An error has occurred while calling a service: {
  "error": "invalid_request",
  "error_uri": "https:\u002F\u002Fasana.com\u002Fdevelopers\u002Fdocumentation\u002Fgetting-started\u002Fauthentication",
  "error_description": "The `refresh_token` parameter was missing."
}
   at ssAsanaConnector.CcAsana_OAuth2.ActionOAuth2Token(HeContext heContext, ICcAsana_OAuth2Callbacks _callbacks, String inParamRequest, STTokenResponseStructure& outParamTokenResponse)
   at ssAsanaConnector.Actions.ActionOAuth2_Token(HeContext heContext, String inParamGrantType, String inParamCode, String inParamRefreshToken, String inParamClientId, String inParamClientSecret, String inParamRedirectURI, RCTokenResponseRecord& outParamTokenResponse)
   at ssAsanaConnector.Actions.CcAsanaCallbacks.FlowAsanaActionOnBeforeRequest(HeContext heContext, STHTTPRequestStructure inParamRequest, STHTTPRequestStructure& outParamCustomizedRequest)
   at ssAsanaConnector.CcAsana.ActionWorkspacesGet(HeContext heContext, ICcAsanaCallbacks _callbacks, STObjectCompactFormat_WrapperStructure& outParamWorkspaces)

I can't achieve to find the bug.

Any Ideas?

Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.