org.apache.cxf.binding.soap.SoapFault: INVALID_TYPE: sObject type 'LoginHistory' is not supported.

Issue #2144 resolved
akippiko akippiko created an issue

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)

  1. akippiko akippiko 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.

  2. Scott Wells 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:

    Issue_2144_Tooling_API.png

    but the query works fine when I use the Partner API:

    Issue_2144.png

    Is that the case for you?

  3. Log in to comment