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

Error when supportsPagination advanced query option is FALSE #191

Closed
elipousson opened this issue Jun 21, 2024 · 0 comments · Fixed by #192
Closed

Error when supportsPagination advanced query option is FALSE #191

elipousson opened this issue Jun 21, 2024 · 0 comments · Fixed by #192

Comments

@elipousson
Copy link
Contributor

Describe the bug

I stumbled across a URL that errors when the supportsPagination advanced query option is FALSE. Unsure why the server is set up this way or if this worked with earlier versions of arcgislayers or arcgisutils.

To Reproduce

library(arcgislayers)

url <- "https://geodata.baltimorecity.gov/egis/rest/services/Planning/Bike_Master_Plan/MapServer/3"

layer <- arc_open(url)

arc_select(layer)
#> Warning in arc_select(layer): Status code: 400
#> Error: Pagination is not supported.
#> Error in `rlang::set_names()`:
#> ! `x` must be a vector

Created on 2024-06-21 with reprex v2.1.0

Expected behavior

Expect selecting the data to be allowed even if pagination is not permitted. If not, a more informative error message would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant