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

A bug occurs when running the example code in format section #559

Open
y-swim opened this issue Feb 20, 2022 · 0 comments
Open

A bug occurs when running the example code in format section #559

y-swim opened this issue Feb 20, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@y-swim
Copy link

y-swim commented Feb 20, 2022

Describe the bug
A bug occurs when running the example code in format section because 'latestBy' parameter can only be used when 'format=json' or 'format=xml'.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to Developers guide
  2. Scroll down to 'format'
  3. Run the example code of format
  4. See error

Expected behaviour
Return json, xml and csv

Screenshots
screenshot of example in format

screenshot of example code in format

Additional context
Removing "latestBy": "cumCasesByPublishDate" on line 25 fixed the problem.

@y-swim y-swim added the bug Something isn't working label Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants