You need to sign in to do that
Don't have an account?

INVALID_TYPE: sObject type 'My_Custom_Object__c' is not supported
I am trying to execute a SOQL query via the saleforce enterprise API, from a Visual Studio applciation.
My query works on a full sandbox of my Org, but not on the Org itself, it give the error: INVALID_TYPE: sObject type 'My_Custom_Object__c' is not supported.
I am running the query under the system administrator credentials.
I have checked that these credentials have access to all the relevant objects. (In fact it has access to every single object.)
The objects are under a managed package, but there are no restrictions in place on the objects. (I have tried enabling restrictions and granting access to the necessary objects, but this has no effect.)
The custom objects are visible in the Visual Studio 'Object Browser', but if I return a DescribeGlobalResult object and echo out all the object names, the ones from within my managed packages are not visible.
Does any one have any idea why this does not work? And how can it be that it works in the full sandbox?
Thanks.
My query works on a full sandbox of my Org, but not on the Org itself, it give the error: INVALID_TYPE: sObject type 'My_Custom_Object__c' is not supported.
I am running the query under the system administrator credentials.
I have checked that these credentials have access to all the relevant objects. (In fact it has access to every single object.)
The objects are under a managed package, but there are no restrictions in place on the objects. (I have tried enabling restrictions and granting access to the necessary objects, but this has no effect.)
The custom objects are visible in the Visual Studio 'Object Browser', but if I return a DescribeGlobalResult object and echo out all the object names, the ones from within my managed packages are not visible.
Does any one have any idea why this does not work? And how can it be that it works in the full sandbox?
Thanks.
I believe you need a license for that managed package to get acces to its objects.

The managed packages are mine. If it was a license issue, would that not also apply to the sandbox? It would also prevent me from accessing those objects via the browser, but that is not a problem. It is only when I go via the API.

Hi we also experiencing the same issue .did you find any solution for this problem ?
check this.
I know that it is not your question probably) but maybe you just clicked it accidentally. Or someone like me will come here when dev console says : "type prefix_Object__c is nor supported".