Quantcast
Channel: Active questions tagged fields - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 63

"Interval" field not supported by Eventlogfile object (in Enterprise edition org)

$
0
0

I am using Salesforce Enterprise edition, and I have the "System Administrator" profile assigned to me, which has all the permission related to Read, Modify All data, View Event log files, and API enabled.

when I Query workbench with SOQL Query: https://myinstanceURL/services/data/v41.0/query?q=SELECT+Id+FROM+EventLogFile+WHERE+Interval+=+'Hourly'

I received an error saying "Interval field is not supported by EventLogFile".

Please note that this issue occurs in Enterprise edition org (and REST API call seems to work fine in Developer Org).

Then I checked the standard and custom objects and fields to verify them in the workbench "info tab".

On choosing the object "EventLogFile", I didn't find the field "Interval".

enter image description here

Do we need any other permission for accessing the Interval field in the salesforce enterprise edition? Because in the developer edition I am able to find the "Interval" field for the "EventLogFile" object by default.enter image description here

In both the account the API version being used in 50.0 during login.

Whereas in the documentation, I could find that the "Interval" field is available from API version 37.0 and later.enter image description here

Due to this, I am unable to query hourly logs, but when the field, Interval is not used in the query, I could find logs.

Please, could anyone tell me where I am wrong? And how to get access to the "Interval" field in Enterprise edition.


Viewing all articles
Browse latest Browse all 63

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>