You need to sign in to do that
Don't have an account?
rohit.marathe
Help with Invalid SObject Type
Hi All I am Getting Following Error when try to access custom object in flex . if any bod knows please reply me as soon as possible.
Fault from operation: (com.salesforce.results::Fault)#0
detail = (Object)#1
fault = (Object)#2
column = -1
exceptionCode = "INVALID_TYPE"
exceptionMessage = "sObject type 'npe5__Affiliation__c' is not supported."
row = -1
xsi:type = "sf:InvalidSObjectFault"
faultcode = "sf:INVALID_TYPE"
faultstring = "INVALID_TYPE: sObject type 'npe5__Affiliation__c' is not supported."
Even though i have created new object which is not managed called "Affliations__c" but is giving same error.
You might want to check and see if the object is still in development and that your profile has access to it.
Jeff Douglas
Appirio, Inc.
http://blog.jeffdouglas.com
we are facing same issue on junction object..when we try same with simple object it works but otherwise fails... i checked all the permission all looks ok....
You should check the API version that you're using, IIRC, junction objects require API v13 or later.
Thanks Simon, it was this. For my case i was retrieving a list of object from javascript button on standard page, as the object was a junction object and i was using version 10 in my code (sample from salesforce), i was generating error. After swapping to version 13 e.g {!REQUIRESCRIPT("/soap/ajax/13.0/connection.js")} , it works.