Skip to main content
March 20, 2024
Question

Connected System Authorization Successful but integration object authorization failed.

  • March 20, 2024
  • 5 replies
  • 0 views

Hi All,

   I'm using a http connected system with OAuth Client credentials type authorization. When I Authorize from connected system, It is authorizing successfully. But when I tested the Integration using this connected system, It is throwing an error as this

Invalid credentials

error-result-guidance

Appian was not able to authenticate with the access token you provided. This request requires Bearer authentication. HTTP/1.1 401 Unauthorized

Next Steps

  • This integration is using a connected system with OAuth 2.0 Client Credential authentication configured. You may need to authorize access to the external system and retry the request.
  • Make sure that you are using the correct OAuth 2.0 configuration for this external system
  • Make sure that the OAuth 2.0 configuration provides the required scope to make this request
  • Check the request and response for more details
  • Review the external systems documentation for information on what may have caused the problem. 

Can anyone suggest how to proceed on this?

Here are the screenshots from Connected system and Integration objects.

    5 replies

    varuntejg243705
    March 20, 2024

    HI [mention:687f753c62da4a01867ff6a899c9f162:e9ed411860ed4f2ba0265705b8793d05] ,

    The error you are getting is Bearer Header Authentication issue,
    Can you please share more info from where you are getting the bearer authentication token,

    you have any preceeded integrations of the current integration?, you need to get bearer token from previous ones

    March 20, 2024

    Hello [mention:3f9551bc38d94a79ae62f9d520dbad6d:e9ed411860ed4f2ba0265705b8793d05]  we are not using any integration to pass that value. when we use connected system, It gets the access token from the token request endpoint and passes. 

    varuntejg243705
    March 20, 2024

    Can you post HTTP Request tab for more info?