When I try to call ajax call from connected app and trying to send data from connected app to salesfore i get below error message.

Failed to execute "PostMessage" on "DomWindow". The target origin provided (https://c.cs9.visualfoce.com) does not match the recipient Window's origin.

1 Answer 1


What is the other Application that you are using ? is the Other Application also using Https ? normally this would happen if other application is not using SSL or is being redirected to an http protocol.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .