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

Unable to Access IUCN API v3 with CRAN Version of rredlist (403 Forbidden Error) #64

Closed
wk-ai opened this issue Dec 31, 2024 · 4 comments

Comments

@wk-ai
Copy link

wk-ai commented Dec 31, 2024

Hello,

I am currently facing an issue with the rredlist package (CRAN version) when trying to access IUCN Red List API v4.

Issue Details:
Package: rredlist (CRAN version)
Function: rredlist::rl_use_iucn()
Error: When running the function rredlist::rl_use_iucn(), my browser opens the following URL:
https://apiv3.iucnredlist.org/api/v3/token
This leads to a 403 Forbidden error page.

@willgearty willgearty changed the title Unable to Access IUCN API v4 with CRAN Version of rredlist (403 Forbidden Error) Unable to Access IUCN API v3 with CRAN Version of rredlist (403 Forbidden Error) Dec 31, 2024
@willgearty
Copy link
Contributor

Please refer to the discussion in #52.

@wk-ai
Copy link
Author

wk-ai commented Dec 31, 2024

Please refer to the discussion in #52.

Thank you for your quick reply. It seems that there isn't an effective solution at the moment. I will continue to monitor the issue.

@willgearty
Copy link
Contributor

willgearty commented Dec 31, 2024

You can either use the demo key documented here in that issue: #52 (comment)

Or install the development version of the package and use v4 of the API:

remotes::install_github("ropensci/rredlist")

@wk-ai
Copy link
Author

wk-ai commented Jan 1, 2025

Your solution was very effective, and I think my issue was with the AOH package.

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

No branches or pull requests

2 participants