Forum Discussion
Cannot refresh a table in SSMS through xmla endpoint
I'm trying to refresh a table in Power BI dataset through XMLA endpoint in SSMS. I'm getting this error. "Stream does not support reading. The remote server returned an error: (400) Bad Request." The screenshot is the exact error message I see.
A few points:
- I can refresh this exact same table with fewer data, but when it's full data, it gives me the error.
- I'm using a sql native query for the table
Has anybody experienced this? What would be the cause for this?
Thanks in advance!
11 Replies
- lbendlinSuper User
how long before it errors out?
- AnonymousNot applicable
It's between 12-17minutes. Pretty consistent
- lbendlinSuper User
Is this dataset on a premium capacity? If so, what SKU? Maybe the table is too large for the SKU?
- lbendlinSuper User
Is your table hitting the 10GB partition limit? Or maybe the capacity admin has specified a much smaller dataset limit?
- AnonymousNot applicable
The thing is I'm able to refresh the data in Power BI desktop. The table itself only contains 10 million rows with 10 columns. But the native query is somewhat complex and long. Maybe it's the query generating big materializations at intermidiate steps that go over a certain limit...?
- lbendlinSuper User
that is certainly possible. maybe you can change the timeout of the native query.