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

obj_check_token error message should indicate how to create a token #37

Open
JosiahParry opened this issue Mar 20, 2024 · 0 comments
Open

Comments

@JosiahParry
Copy link
Collaborator

As title describes. Current error message is below. Users might not know how to create an authorization token. The message should indicate how to create a token if needed.

arcgisutils::obj_check_token(NULL)
#> Error:
#> ! `token` must be an <httr2_token> not <NULL>
#> Backtrace:
#>     ▆
#>  1. └─arcgisutils::obj_check_token(NULL)
#>  2.   └─cli::cli_abort(...) at arcgisutils/R/arc-token.R:128:5
#>  3.     └─rlang::abort(...)

Created on 2024-03-20 with reprex v2.0.2

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