I am Unable to query "
SetupAuditTrail" through Rest call.
When I made "
SELECT Id FROM SetupAuditTrail Where CreatedDate>2019-12-25T15:00:00Z"query, I got
RESPONSE: Object type 'SetupAuditTrail' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names
RESPONSE CODE: 400
ERROR CODE: INVALID_TYPE
I can see Audit logs in my UI. And when I tried to download these logs through an API got this. Please, could anyone tell me where I am wrong or what should I do to overcome this?