Resolve error while fetching project code in Force.com IDE

Author posted by Jitendra on Posted on under category Categories Salesforce and tagged as Tags with 1 Comment on Resolve error while fetching project code in Force.com IDE

Resolve Force.com IDE error while fetching Salesforce project because of different version

While working on force.com IDE this week, I started getting below error

Unable to update project properties: Element {urn:partner.soap.sforce.com}returnFieldDataTypes invalid at this location

Eclipse Force.com IDE - MARS.1
Eclipse Force.com IDE – MARS.1

I was using Eclipse Mars.1. The reason was that, I updated my force.com IDE to version 36 and my org was supporting API 35 only I guess.
So, I solved it by uninstalling Force.com IDE by navigating to “Help | Installation Details | Force.com IDE | Uninstall”.

Once, Force.com IDE is uninstalled, install it again however with some change as shown in below image.

Resolve Salesforce Force.com IDE error
Resolve Salesforce Force.com IDE error

On first screen of installation, we need to select only “version 35” and uncheck check-box saying “show only the latest version of available software”. After this screen, we need to follow steps as shown in screen.

Related posts

  • Art Ordoqui

    Thanks for posting!