You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using code "test2" searching for photo from another location works fine and returns results:
test2 <- photo_search(mindate_taken = "2020-01-01",
maxdate_taken = "2020-01-03",
bbox = "13.0882,52.3418,13.7606,52.6697",
has_geo = TRUE)
> sessionInfo()
R version 4.0.4 (2021-02-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)
The text was updated successfully, but these errors were encountered:
katwynn
changed the title
certain area search responds "Error in search_url(base_url = base_url) : object 'photo_xml' not found"
Searching photo from certain areas returns "Error in search_url(base_url = base_url) : object 'photo_xml' not found"
Jul 14, 2021
First of all, thank you for your support:
while searching for photo using code "test1", bounding box covering certain areas are returns error messages:
test1 <- photo_search(mindate_taken = "2011-01-01",
maxdate_taken = "2011-01-03",
bbox = "8.5806,47.5338, 10.4918, 49.7913",
has_geo = TRUE)
Result:
No encoding supplied: defaulting to UTF-8.
Error in search_url(base_url = base_url) : object 'photo_xml' not found
In addition: Warning messages:
1: In search_url(base_url = base_url) :
Status code:400 for https://api.flickr.com/services/rest/?method=flickr.photos.search&api_key=9ab0b35421325c3ea882df4da5415c13&text=&tags=&tag_mode=any&min_taken_date=1293807600&max_taken_date=1325372400&min_upload_date=1293807600&max_upload_date=1325372400&bbox=8.5806,47.5338, 10.4918, 49.7913&has_geo=TRUE&extras=date_taken,geo,tags,license,url_sq,url_t,url_s,url_q,url_m,url_n,url_z,url_c,url_l,url_o,count_views,count_comments,count_faves,date_upload,last_update,description&page=1&sort=date-taken-asc&format=rest - message:
400 Bad request
Your browser sent an invalid request.
2: In value[3L] :
https://api.flickr.com/services/rest/?method=flickr.photos.search&api_key=9ab0b35421325c3ea882df4da5415c13&text=&tags=&tag_mode=any&min_taken_date=1293807600&max_taken_date=1325372400&min_upload_date=1293807600&max_upload_date=1325372400&bbox=8.5806,47.5338, 10.4918, 49.7913&has_geo=TRUE&extras=date_taken,geo,tags,license,url_sq,url_t,url_s,url_q,url_m,url_n,url_z,url_c,url_l,url_o,count_views,count_comments,count_faves,date_upload,last_update,description&page=1&sort=date-taken-asc&format=rest skipped beacuse: Error in read_xml.response(r): Bad Request (HTTP 400).
Using code "test2" searching for photo from another location works fine and returns results:
test2 <- photo_search(mindate_taken = "2020-01-01",
maxdate_taken = "2020-01-03",
bbox = "13.0882,52.3418,13.7606,52.6697",
has_geo = TRUE)
> sessionInfo() R version 4.0.4 (2021-02-15) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19041)
Matrix products: default
locale:
[1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252 LC_MONETARY=German_Germany.1252 LC_NUMERIC=C LC_TIME=German_Germany.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] sessioninfo_1.1.1 photosearcher_1.0
loaded via a namespace (and not attached):
[1] fansi_0.4.2 withr_2.4.2 crayon_1.4.1 utf8_1.2.1 dplyr_1.0.6 R6_2.5.0 lifecycle_1.0.0 magrittr_2.0.1 pillar_1.6.0 httr_1.4.2 cli_2.5.0
[12] rlang_0.4.10 curl_4.3.1 xml2_1.3.2 vctrs_0.3.7 generics_0.1.0 ellipsis_0.3.1 tools_4.0.4 glue_1.4.2 purrr_0.3.4 compiler_4.0.4 pkgconfig_2.0.3
[23] tidyselect_1.1.1 tibble_3.1.1
The text was updated successfully, but these errors were encountered: