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

API authentication when creating an investigation #160

Open
jjkoehorst opened this issue Feb 11, 2020 · 3 comments
Open

API authentication when creating an investigation #160

jjkoehorst opened this issue Feb 11, 2020 · 3 comments

Comments

@jjkoehorst
Copy link

@jjkoehorst jjkoehorst commented Feb 11, 2020

When creating an investigation for a project in which you have no rights the API gives a HttpResponseProxy{HTTP/1.1 422 Unprocessable Entity which led me to believe I had an invalid json object.

The issue was actually that when I created the project via the API I forgot to make myself owner of that project...

Is it possible to give a more meaning full error message?

@alaninmcr

This comment has been minimized.

Copy link
Contributor

@alaninmcr alaninmcr commented Feb 11, 2020

I think it perhaps should return 403

@stuzart

This comment has been minimized.

Copy link
Member

@stuzart stuzart commented Feb 11, 2020

@stuzart

This comment has been minimized.

Copy link
Member

@stuzart stuzart commented Feb 11, 2020

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.