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

help-wanted issues failing #78

Closed
zkamvar opened this issue May 26, 2023 · 3 comments
Closed

help-wanted issues failing #78

zkamvar opened this issue May 26, 2023 · 3 comments

Comments

@zkamvar
Copy link
Contributor

zkamvar commented May 26, 2023

The help-wanted-issues feed is (and has been) failing for some time now with a 403 error:

I suspect that it might have to to with the Airtable API key, but I'm not sure right now.

> source('R/help_wanted_issues.R')

Attaching package:purrrThe following object is masked frompackage:jsonlite:

    flattenUsing GitHub token!Running gh queryRunning gh query, got 100 records of about 200
Error in `map2()`:In index: 1.With name: Data Carpentry.
Caused by error:
! HTTP error: [40](https://github.com/carpentries/feeds.carpentries.org/actions/runs/5090547622/jobs/9149503724#step:22:41)3
INVALID_PERMISSIONS
Invalid permissions
Backtrace:1. ├─base::source("R/help_wanted_issues.R")
  2. │ ├─base::withVisible(eval(ei, envir))
  3. │ └─base::eval(ei, envir)
  4. │   └─base::eval(ei, envir)
  5. ├─purrr::imap_dfr(...)
  6. │ └─purrr::map2(.x, vec_index(.x), .f, ...)
  7. │   └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
  8. │     ├─purrr:::with_indexed_errors(...)
  9. │     │ └─base::withCallingHandlers(...)
 10. │     ├─purrr:::call_with_cleanup(...)
 11. │     └─global .f(.x[[i]], .y[[i]], ...)
 12. │       └─orgs %>% keep_opted_in()
 13. ├─global keep_opted_in(.)
 14. │ ├─at_opted_in$Repositories$select_all() %>% ...
 15. │ └─at_opted_in$Repositories$select_all()
 16. │   └─airtabler::air_select(...)
 17. │     └─airtabler:::air_validate(res)
 18. │       └─base::stop(...)
 19. ├─dplyr::mutate(., lesson_program = tolower(lesson_program))
 20. └─base::.handleSimpleError(...)
 21.   └─purrr (local) h(simpleError(msg, call))
 22.     └─cli::cli_abort(...)
 23.       └─rlang::abort(...)
Execution halted
make: *** [Makefile:[57](https://github.com/carpentries/feeds.carpentries.org/actions/runs/5090547622/jobs/9149503724#step:22:58): help-wanted] Error 1
an error occured; skipping help-wanted issues
@zkamvar
Copy link
Contributor Author

zkamvar commented May 26, 2023

Given that the error is coming from the {airtabler} package, it's reasonable to suspect that our Airtable API key needs to be reset.

@zkamvar
Copy link
Contributor Author

zkamvar commented May 26, 2023

Relevant issue in Airtabler: bergant/airtabler#19

@zkamvar
Copy link
Contributor Author

zkamvar commented May 26, 2023

This was fixed by replacing the AIRTABLE_API_KEY with a personal access token with read access.

@zkamvar zkamvar closed this as completed May 26, 2023
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

1 participant