GetActivitiesByInterval return "Item Not Found"
We are trying to get site activity by using graph and referred to this documentation - https://docs.microsoft.com/en-us/graph/api/itemactivity-getbyinterval?view=graph-rest-beta&tabs=csharp
Unfortunately we get Item not found as a response. Previously we used to get 500 Internal server error but now we get 404. I have tried this with various site in my tenant.
Screenshots

I have tried the same with Graph Explorer and its still the same(item not found). :(

Any help on this is highly appreciated, thank you in advance.
Reference Issue https://github.com/microsoftgraph/microsoft-graph-docs-contrib/issues/6273
404 is expected if this item doesn't have any analytics data
How do we know whether the site has analytics data or not? Is there any way to check without the help of API?
This doesn't appear to be a client library issue. Please post questions about the product and the service APIs to StackOverflow with the microsoft-graph tag.
The item has analytics data, when I checked from admin portal -> site usage. For the same date I can't get the value through the API. Not sure why this issue is closed already :/
The issue has been resolved, after providing the sites values in a way explained here -> https://docs.microsoft.com/en-us/graph/api/resources/site?view=graph-rest-beta#id-property
(tenant-sharepoint-url, site collection GUID, site(web) GUID)

I am getting Object reference error even after providing id like this.