org.apache.cxf.binding.soap.SoapFault: INVALID_TYPE: sObject type 'LoginHistory' is not supported.
ver 2.2.2.7
SELECT Application, Browser, SourceIp FROM LoginHistory
from the SOQL Query sidebar, I get the above error
I get the following error
org.apache.cxf.binding.soap.SoapFault: INVALID_TYPE: sObject type 'LoginHistory' is not supported.
It is a shame that frequent degrades occur, even though it is a good tool.
A few bugs are understandable, but frequent bugs indicate that there is something wrong with the development process or awareness.
Comments (5)
-
repo owner -
reporter It is not a question of having or not having authority.
I believe I've been able to search so far under the same account, and
I can search properly in Salesforce DevTools, a Chrome extention that uses the same account. -
repo owner I apologize. I misread the original issue. There are instances of issues that manifest this way that are due to authorization, but this one is likely (possibly?) from executing using the incorrect API.
LoginHistory
is a metadata/partner API SObject type. I get that same error when I try to execute the query using the Tooling API:but the query works fine when I use the Partner API:
Is that the case for you?
-
reporter That is exactly what happened.
Thank you for your response.
-
reporter - changed status to resolved
- Log in to comment
This is not an Illuminated Cloud issue. This is most often caused by the user not having the Manage Users permission:
https://developer.salesforce.com/forums/?id=9060G000000XbexQAC
You can resolve this issue by making sure that your IC2 connection user has sufficient permissions to act in a developer-class role.