Skip to content

Power Bi Unexpected EOF #329

@jacobherner

Description

@jacobherner

Preflight Checklist

Power Query SDK

0.4.0

Regression From

No response

Platform

Windows

Architecture

x64

OS Version

No response

VSCode version

1.89.1

PQSdkTool Path

No response

Bug Description

In my custom connector I have implemented a function which returns a large amount of data by using the list.generate function in order to make a series of web requests to get paginated data from a web service. The list of tables of records is then combined into a single table. The issue is that I sometimes encounter the error in the screenshot below when loading the data. However, the web service that furnishes the data does not report any errors. It seems as though power bi is getting incomplete data somehow or is closing it's connection for some reason. From the perspective of the web service, it gets a series of requests for some of the pages of data and then simply stops receiving requests after the error is encountered in power bi. I will also add that the data is not changing between attempts that succeed and those that fail.

PowerBI EOF

The code in question is here:

image

Steps to Reproduce

Open the connector in power bi desktop.
Load a table that utilizes the function to get paginated data.
Wait for data to load or fail (the failure is not always consistent).

Actual Experience

PowerBI EOF

Expected Experience

Sometimes all the data loads from all the pages and everything works as expected.

Additional Context

These "Microsoft.Mashup.Container" logs which show the issue from the screenshot.
PowerBI with EOF error.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions