function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ty WhitfieldTy Whitfield 

Custom Account Fields Not Available in API

I've created custom fields for the Contact and Account objects.  The Contact fields are immediately available and can be queried with no problem.  The Account fields are not for some strange reason.  They have the same exact permissions, are visible in all page layouts, waited a couple of days to see if it was slow in updating, I've opened them up so that it is totally editable and yet nothing seems to work.  I can see the fields and query in Data Loader and Workbench.

Any ideas?
Raj VakatiRaj Vakati
If you are using the SOAP api .. you need to regenerate the new WSDL file again and then generate  the class from new WSDL
 
 
When even you change or add new fields you need to get new WSDL file and generate the code from there