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

ID_NUMBER shows up in draft sandbox path URLs #332

Closed
zaneselvans opened this issue Apr 23, 2024 · 0 comments · Fixed by #340
Closed

ID_NUMBER shows up in draft sandbox path URLs #332

zaneselvans opened this issue Apr 23, 2024 · 0 comments · Fixed by #340
Assignees
Labels
bug Something isn't working zenodo

Comments

@zaneselvans
Copy link
Member

While trying to debug the FERC-714 and FERC-2 archiving validation errors, I got a weird response from the Zenodo Sandbox server, which doesn't seem to be happening on the Production server. In the datapackage.json we end up with ID_NUMBER in the path URL rather than the actual record ID, so somehow we're not getting the ID we need, or failing to substitute the real ID in before uploading the files, but the fact that it happens on the Sandbox and not on Production suggests it's not a problem we're introducing?

{
    "profile": "data-resource",
    "name": "ferc2-xbrl-2023.zip",
    "path": "https://sandbox.zenodo.org/records/ID_NUMBER/files/ferc2-xbrl-2023.zip",
    "title": "ferc2-xbrl-2023.zip",
    "parts": {
        "year": 2023,
        "data_format": "xbrl"
    },
    "encoding": "utf-8",
    "mediatype": "application/zip",
    "format": ".zip",
    "bytes": 8175132,
    "hash": "c9d3346e331535af8a7f622065ef17bf"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working zenodo
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants