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

possible error while exporting API data #13466

Closed
mattab opened this issue Sep 21, 2018 · 3 comments · Fixed by #13917
Closed

possible error while exporting API data #13466

mattab opened this issue Sep 21, 2018 · 3 comments · Fixed by #13917
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Sep 21, 2018

Error triggered: Error: {"message":"Argument 1 passed to Piwik\\Plugins\\SegmentEditor\\UnprocessedSegmentException::__construct() must be an instance of Piwik\\Segment, string given, called in \/core\/ArchiveProcessor\/PluginsArchiver.php on line 185","file":"plugins\/SegmentEditor\/UnprocessedSegmentException.php","line":36}

URL triggering issue: /index.php?dataSource=page_title&date=2018-09-14,2018-09-20&expanded=1&filter_limit=-1&format=JSON2&idSite=8&limitActionsPerStep=6&method=UsersFlow.getUsersFlow&module=API&period=range&segment=dimension4%3D%xxxx%2520(x)

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Sep 21, 2018
@mattab mattab added this to the 3.6.1 milestone Sep 21, 2018
@diosmosis diosmosis self-assigned this Sep 23, 2018
@mattab mattab removed this from the 3.6.1 milestone Sep 23, 2018
@mattab
Copy link
Member Author

mattab commented Sep 23, 2018

as we cannot reproduce this so far, and it only happened a few times, we will wait some more before working on this

@diosmosis diosmosis removed their assignment Sep 23, 2018
@mattab mattab added this to the 3.6.1 milestone Oct 1, 2018
@mattab
Copy link
Member Author

mattab commented Oct 1, 2018

We again received this error many times eg.

index.php?module=API&method=Actions.getPageTitles&idSite=1&period=range&date=2018-09-01,2018-09-30&segment=countryCode==BR&format=JSON&token_auth=XYZANONYMIZED&callback=jQuery111104736784728773332_1538375609097&_=1538375609098

and

index.php?module=API&method=UserCountry.getCity&idSite=1&period=range&date=2018-09-01,2018-09-30&segment=countryCode==CO&format=JSON&token_auth=XYZANONYMIZED&callback=jQuery111104736784728773332_1538375609111&_=1538375609112

@diosmosis diosmosis self-assigned this Oct 4, 2018
@mattab mattab removed this from the 3.6.1 milestone Oct 5, 2018
@mattab
Copy link
Member Author

mattab commented Nov 23, 2018

Another request that triggered this error was /index.php?dataSource=page_url&date=2018-11-16,2018-11-17&expanded=1&filter_limit=-1&format=JSON2&idSite=1&limitActionsPerStep=5&method=UsersFlow.getUsersFlow&module=API&period=range&segment=pageUrl%3D%5Ehttps%253A%252F%252FXXXXXXXXXXXXXXX.com%252Fjoin;pageUrl!@https%253A%252F%252FXXXXXXXXXXXX.com%252Fjoinnow

Increasing priority because we get quite a few of these errors emailed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants