Navigation Menu

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

jsoncallback API parameter doesn't work with getBulkRequest #17189

Open
Findus23 opened this issue Feb 4, 2021 · 0 comments
Open

jsoncallback API parameter doesn't work with getBulkRequest #17189

Findus23 opened this issue Feb 4, 2021 · 0 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. c: APIs For bugs and features in the Matomo HTTP and plugin APIs.

Comments

@Findus23
Copy link
Member

Findus23 commented Feb 4, 2021

reported in https://forum.matomo.org/t/api-getbulkrequest-returns-null-with-callback-parameter/40550

when I use the getBulkRequest Method with Matomo 4.1.1 and append the &callback or &jsoncallback Parameter, the array values in the response will always be null. This used to work with matomo 3.14.0

example URL:

works:
https://demo.matomo.cloud/index.php?module=API&method=API.getBulkRequest&format=json&token_auth=anonymous&urls[0]=method=VisitsSummary.getVisits&idSite=1&period=week&date=today
doesn't work:
https://demo.matomo.cloud/index.php?module=API&method=API.getBulkRequest&format=json&token_auth=anonymous&urls[0]=method=VisitsSummary.getVisits&idSite=1&period=week&date=today&jsoncallback=test

@Findus23 Findus23 added the Bug For errors / faults / flaws / inconsistencies etc. label Feb 4, 2021
@tsteur tsteur added this to the Priority Backlog (Help wanted) milestone Feb 4, 2021
@mattab mattab added the c: APIs For bugs and features in the Matomo HTTP and plugin APIs. label Dec 11, 2023
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. c: APIs For bugs and features in the Matomo HTTP and plugin APIs.
Projects
None yet
Development

No branches or pull requests

3 participants