Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
3.11.0
-
None
-
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.