Find your content:

Search form

You are here

Salesforce : INVALID_TYPE: This type of object is not available for this organization faultcode=sf

 
Share

I am trying to update a apex class in salesforce by using metadata api but recieving this error when I call the update_x method.

I have achieved to get the zip file package of the desired class and unzipped it by using JSZip, now when I try to update the whole package it gives me the error.

Also I have red it on the net that you have to get the zip back together to save the results successfully, but I am not sure how to again make a zip of the class, class-meta and package.xml files.


Attribution to: user614946
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/34235

My Block Status

My Block Content