Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
StarkPBI
Advocate I
Advocate I

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
v-yiruan-msft
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

8 REPLIES 8
niltu
New Member

Hello, I solved the error by pulling just a specific day and passing the following date format in the api URL.

 

startDateTime='2023-12-03T00:00:00Z'&endDateTime='2023-12-03T23:59:59Z'
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 IV
Helper IV

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

Anonymous
Not applicable

Yes

metricinsights
Frequent Visitor

@v-yiruan-msft any updates?
Faced the same issue now. 

metricinsights_0-1647356367863.png

Thanks,

v-yiruan-msft
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.

@v-yiruan-msft 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. 

Anonymous
Not applicable

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

Thank you

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.