Unable to refresh resources Error in Eclipse (Force.com IDE)

Hi Guys,

I am coming to you with an error I got during one of my Eclipse setup.

I got a new laptop and wanted to install the Eclipse Marsh version with the Force.com IDE. Downloaded the Eclipse marsh version and tried to start the IDE. It was good at this point. Went to install the Force.com IDE from the location  http://media.developerforce.com/force-ide/eclipse42 as directed by salesforce page. Installation was good . I was able to create the project as well and when started to refresh the components , ding dong….. got the error :

Problem :

Unable to refresh resources:

Element {urn:partner.soap.sforce.com}returnFieldDataTypes invalid at this location

This is the first time I was getting this error. Looking into it seemed that it’s something with the Metadata issues. When digging into it more , it seems to be a version issues of the Apex API. Actually the sandbox I was refreshing the code from was not upgraded to the Spring 16 (API 36). But I had the IDE installed as API 36.

So the sandbox I was refreshing the metadata from is at API 35 and the Eclipse is setup to look for API 36 which was causing some additional metadata mismatch issue.

Resolution:

Here are some steps to resolve this issue :

1.

Go to installation Details from Help menu:

2

Check the current version is installed is more than the sandbox API version.  In this case Force IDE is API 36. Highlight the Force.com IDE and Uninstall it.

3

Go install new software from the help menu again.

4 5

Select the correct version of the Force.com IDE and install it. It will restart the Eclipse and try now , the error should not appear any more.

6

Hope, someday someone out there will get it helpful.

Thanks for coming to this page and spending some time on it. If you like it, please share your thoughts or comments in the below box.

Keep reading and sharing..

 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *