cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
StarkPBI
Frequent Visitor

Set your date’s start time so it’s before the end time, then try calling this API again. API Error

This was working last month but now it's not. 

Any ideas?

 

StarkPBI_0-1642485056873.png

 

1 ACCEPTED SOLUTION
yingyinr
Community Support
Community Support

Hi @StarkPBI ,

It looks like you are using the ActivityEvents API to get the Activity log, and from your screenshot it looks like the startDateTime and endDateTime are in correct  in ISO 8601 compliant UTC formats, and their date ranges are correct. It looks like an issue, I see that you have raised a case in the issue forum, and the support colleague has replied to you: The issue has been reported internally(ICM: 284208185). I will also continue to track the status of this ICM, and I will update you if there is any progress later.

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
lmcconnell1665
Frequent Visitor

@StarkPBI I am having the same issue when I try to get data prior to 30 days ago. 

 

When I try to get data within a 30 day lagging window, the API works as intended.

pvuppala
Helper II
Helper II

Could it be that we can only go back 30days in history?  I am running this call too but it works within 30days.

Yes

metricinsights
Frequent Visitor

@yingyinr any updates?
Faced the same issue now. 

metricinsights_0-1647356367863.png

Thanks,

yingyinr
Community Support
Community Support

Hi @StarkPBI ,

It looks like you are using the ActivityEvents API to get the Activity log, and from your screenshot it looks like the startDateTime and endDateTime are in correct  in ISO 8601 compliant UTC formats, and their date ranges are correct. It looks like an issue, I see that you have raised a case in the issue forum, and the support colleague has replied to you: The issue has been reported internally(ICM: 284208185). I will also continue to track the status of this ICM, and I will update you if there is any progress later.

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@yingyinr Has there been any update on this?  We are also hitting this issue and would like to use the API but the start/ed date issue is blocking us. 

Hi @msalerno, have you fixed the issue ? I have the same problem right now.

Thank you

Helpful resources

Announcements
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Power BI Dev Camp Session 27

Ted's Dev Camp

This session walks through creating a new Azure AD B2C tenant and configuring it with user flows and custom policies.