Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporting API - CSV malformed #17821

Closed
richardstrong opened this issue Jul 27, 2021 · 1 comment
Closed

Reporting API - CSV malformed #17821

richardstrong opened this issue Jul 27, 2021 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@richardstrong
Copy link

CSV export header row does not match data row. Data rows have 1 field more and some values clearly do not match the headings. E.g. percentage value for "Avg. Actions per New Visit" or minute & seconds value for "Returning Visits"

Steps to Reproduce (for Bugs)

Example link: https://demo.matomo.cloud/index.php?date=previous12&expanded=1&filter_limit=100&format=CSV&format_metrics=1&idSite=1&language=en&method=API.get&module=API&period=week&segment=&translateColumnNames=1&convertToUnicode=0

Header fields: 93
Data fields: 94

Context

Renders CSV export useless – fields are named wrongly, and the importing tool rejects the file

@richardstrong richardstrong added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Jul 27, 2021
@richardstrong richardstrong changed the title CSV export malformed Reporting API - CSV malformed Jul 27, 2021
@sgiehl
Copy link
Member

sgiehl commented Jul 27, 2021

Hi @richardstrong. Thanks for creating this issue. This was already resolved with #17442 and should be included in the upcoming release

@sgiehl sgiehl closed this as completed Jul 27, 2021
@sgiehl sgiehl added answered For when a question was asked and we referred to forum or answered it. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants