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

Cannot submit request to publish a project #241

Open
mobiusklein opened this issue Oct 24, 2020 · 1 comment
Open

Cannot submit request to publish a project #241

mobiusklein opened this issue Oct 24, 2020 · 1 comment

Comments

@mobiusklein
Copy link

When I submit a request to publish a project I don't own because the associated paper has been published, using the form at https://www.ebi.ac.uk/pride/archive/projects/<accesion>/publish?r=other, the form submission throws an error:
image

In the JS console, I see the following errors:
>chunk-vendors.5d4d3432.js:6 POST https://www.ebi.ac.uk/pride/private/ws/archive/v2/projects/publishother/PXD016582 404
>Uncaught (in promise) TypeError: Cannot read property 'defaultMessage' of undefined

The 404 response carried the following JSON payload:

{
  "timestamp" : 1603553832045,
  "status" : 404,
  "error" : "Not Found",
  "message" : "No message available",
  "path" : "/pride/private/ws/archive/v2/projects/publishother/PXD016582"
}

If I'm not logged in when I submit this request, I instead get 401 instead of a 404:

{
  "timestamp" : 1603554371965,
  "status" : 401,
  "error" : "NO_TOKEN",
  "message" : "Token not supplied",
  "path" : "/pride/private/ws/archive/v2/projects/publishother/PXD016582",
  "exception" : "uk.ac.ebi.tsc.aap.client.exception.TokenNotSuppliedException"
}
@ypriverol
Copy link
Contributor

@shabai517 @chakrabandla is this issue solved?

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