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

Authenitcation error not shown #3

Open
ch728 opened this issue Oct 6, 2021 · 1 comment
Open

Authenitcation error not shown #3

ch728 opened this issue Oct 6, 2021 · 1 comment

Comments

@ch728
Copy link

ch728 commented Oct 6, 2021

Connecting to my breedbase instance requires an authentication token. When I supply the token in the connection everything works as expected. When I don't supply a token, the brapir functions just returns an empty data frame and no error/warning is given that there was an authentication error that caused no data to be returned. It would be useful to have a warning instead of just an empty data frame with no indication that something went wrong.

@mverouden
Copy link
Owner

mverouden commented Oct 6, 2021

@ch728 Could you provide an example?

That would help me to figure out how to implement this. It is already on my to do list to do more with the metadata, but I am for now still very busy implementing all calls with documentation and working examples.

The example can be without the token of course! Then I can see what the serverresponse is and how to provide the feedback.

Have you tried the brapi_serverinfo_show(show = TRUE) setting? I helps a lot with debugging.

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