inbo / iassetR

Interact with the iAsset api using R
https://inbo.github.io/iassetR/
Other
0 stars 1 forks source link

Better error message for wrong username #27

Open PietrH opened 8 months ago

PietrH commented 8 months ago

The failure state when you enter the wrong username isn't very elegant:

get_records(access_token = get_access_token(username = "pieter.huybrechts@inbo.be"))

#>Error: access_token is not a string (a length one character vector).