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

Unable to publish changes to metadata for an existing record #2490

Open
wna-se opened this issue Oct 19, 2023 · 3 comments
Open

Unable to publish changes to metadata for an existing record #2490

wna-se opened this issue Oct 19, 2023 · 3 comments
Labels

Comments

@wna-se
Copy link

wna-se commented Oct 19, 2023

Browser & OS (see also https://www.whatismybrowser.com/): Chrome 118: macOS

Describe the bug

I’m editing the metadata for an existing record with 3 published versions and have successfully saved a draft and previewed the changes. When clicking the publish button I get the following error message:

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Steps to Reproduce

  1. Open an existing published record for editing
  2. Make changes to the metadata (do not change any of the files uploaded to the record)
  3. Save a draft (and make sure to fix any prompts to complete missing or erroneous information if prompted)
  4. Click on Publish
  5. See error “The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application”

Expected behavior

The changes saved previously changed as a draft should be published without error.

Screenshots (if applicable)

Additional context

The error message is not very informative and makes it difficult to say whether the problem is with the application or the instance hosted at Zenodo.com. Given that I have received the same error when attempting to edit and publish metadata for other records over the last two days, I suspect that the error might be related to the application and I would be happy to help collect more useful trouble shooting information if provided with some guidance on what kind of trace would be helpful here.

@wna-se wna-se added the Bug label Oct 19, 2023
@dshorthouse
Copy link

fwiw, I am experiencing the same through use of the RESTful API.

@luisaforozco
Copy link

luisaforozco commented Mar 11, 2024

Using gitlab2zenodo I tried to publish a new version of a software and ended up with the same:

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application., status: 500

When trying again the same command I got:

ValueError: The deposit 10804038 has an unpublished version, I can not add a new one. Please remove or publish the existing version, then run again.

Unfortunately I am not the owner of that record, and I am trying to publish to a community (i.e. specified in the .zenodo.json), but I do not see any drafts or requests in the community. Also I see in the printed data: "state": "unsubmitted", "submitted": false, I am curious where did this ended up. I have tracked down that I obtain the error 500 when trying to submitt to a community, I have added the following to .zenodo.json as indicated in the documentation:

{ ...
"communities": [{"identifier":"test_community"}]
}

@PeterBetlem
Copy link

Same issue here. Both through API and through the frontend.

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

No branches or pull requests

4 participants