syndesisio / syndesis-verifier

Syndesis Verifier Service
Apache License 2.0
2 stars 8 forks source link

InstanceUrl field breaks Salesforce validation #17

Closed jknetl closed 7 years ago

jknetl commented 7 years ago

When you try to verify a salesforce connection which has "instance url" field defined, the validation will always fail with Response with status: 500 Internal Server Error for URL: https://syndesis.192.168.42.95.xip.io/api/v1/connectors/salesforce/verifier.

instanceurl-parameter

The problem is that instanceUrl option is not known by the salesforce verifier. This statement can be found in verifier log:

2017-08-23 13:07:59.587 ERROR 1 --- [  XNIO-3 task-6] i.s.verifier.impl.SalesforceVerifier     : salesforce -->
2017-08-23 13:07:59.587 ERROR 1 --- [  XNIO-3 task-6] i.s.verifier.impl.SalesforceVerifier     :    UNKNOWN_PARAMETER : Unknown option instanceUrl

If you just delete the instance url option from the form the validation will succeed afterwards.

rhuss commented 7 years ago

@jknetl thanks for the report. Yes, we remarked this, too and afaik there is a projected fix for this (cc @zregvart )

zregvart commented 7 years ago

This should be fixed with syndesisio/syndesis-rest#523 I'm inclined to leave it as is until then, a quick workaround is to empty the Instance URL field.

zregvart commented 7 years ago

This was fixed.