You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Karsten Reuter (Jira)" <ji...@apache.org> on 2021/07/16 09:12:00 UTC

[jira] [Created] (CAMEL-16808) Salesforce Maven Plugin fails with unsupported_grant_type at login

Karsten Reuter created CAMEL-16808:
--------------------------------------

             Summary: Salesforce Maven Plugin fails with unsupported_grant_type at login
                 Key: CAMEL-16808
                 URL: https://issues.apache.org/jira/browse/CAMEL-16808
             Project: Camel
          Issue Type: Bug
          Components: camel-salesforce
    Affects Versions: 3.11.0
            Reporter: Karsten Reuter


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)