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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Power BI API error "Set your date’s start time so it’s before the end time, then try calling this AP

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

Any ideas? 

 

StarkPBI_0-1642542721330.png

 

Status: Accepted

Hi,

I have reported this issue internally, ICM: 284208185

 

I will update here once I get any information.

 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

Comments
v-robertq-msft
Community Support
Status changed to: Investigating

Hi,

What's the rest API you are trying to call?

 

Would you like to set the start date to be earlier than your end date and check if the API can be successfully run?

 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

StarkPBI
Advocate I

Hi @v-robertq-msft , 

My start date is earlier than my end date. 

 

I just tried this again in the API explorer on MS website and it's still giving me the same error 😞

StarkPBI_0-1642637588880.pngStarkPBI_1-1642637606920.png


I'm trying to call the Get Activity Events API. 


This was working last month but suddenly it doesn't 😭

v-robertq-msft
Community Support
Status changed to: Accepted

Hi,

I have reported this issue internally, ICM: 284208185

 

I will update here once I get any information.

 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

mhyndman
New Member

I am facing the same issue.  Please fix ASAP. 

Thanks!

StarkPBI
Advocate I

Any updates @v-robertq-msft ?

v-robertq-msft
Community Support

Hi,

It seems that the product team needs to get the fiddler trace of this action to do further investigation.

 

I’ve got this message from pg:

The error here seems to be explicit: "The end date is not being properly set". If you want further advice on the case, you need to share a fiddler trace so we can verify how is the API being called. 

 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

leon_zottin
Frequent Visitor

Having the same issue.

It works with a date greather than or equal '2022-02-16'

If I try the same call with a previous date, it returns me the error "{"error":{"code":"InvalidRequest","message":"Set your date’s start time so it’s before the end time, then try calling this API again."}}"

 

Could you help me please? @v-robertq-msft 

Thanks in advance

 

Leonardo

StarkPBI
Advocate I

So I have since discovered that the API is only working for the last 30 days atm. Anything previous to that will result in an error 😞

leon_zottin
Frequent Visitor

@StarkPBI I was thinking about of this limitation.... 

But in the documentation there's no mention of that limitation... 

 

what a pity! 

mmartella86ICO
New Member

Hello Team, 

 

have you got any update with regards to the ICM 284208185?

 

Thanks 🙂