Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16808

Salesforce Maven Plugin fails with unsupported_grant_type at login

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 3.11.0
    • None
    • camel-salesforce
    • None
    • Unknown

    Description

      I am trying to use the camel-salesforce maven plugin to generate source code but the login fails with.

      Failed to execute goal org.apache.camel.maven:camel-salesforce-maven-plugin:3.11.0:generate (default-cli) on project quarkus-teams-bot: Error connecting to Salesforce: Salesforce login error {errors:[

      {"errorCode":"unsupported_grant_type","message":"Login error code:[unsupported_grant_type] description:[grant type not supported]","fields":null}

      ],statusCode:400}

      I tested my credentials with Insomnia and login works when I post as multipart form. When I post the data as FORM URL encoded as it is done in the plugin I receive the same error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cm_karsten Karsten Reuter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: