NDAR / nda-tools

Python package for interacting with NDA web services. Used to validate, submit, and download data to and from NDA.
MIT License
47 stars 22 forks source link

Why nda-tools throwing error on existing package? #77

Open spurani opened 9 months ago

spurani commented 9 months ago

Getting Package Information...

An unexpected error was encountered and the program could not continue. Error message from service was: {'message': 'The package with id 1206685 was not found. '}

Exit signal received, shutting down...

Package-id and username is valid, still nda-tools is throwing error. How can I fix this?

gregmagdits commented 9 months ago

NDA started archiving packages older than 60 days, so data from packages must be downloaded before this time frame. To continue downloading files you need to create a new package.

dmd commented 8 months ago

Oh no. That is really bad for us - it totally breaks our planned workflow, which assumed projects last forever and you can keep pulling and analyzing different subsets of participants from them.

Can this please be revisited? I would suggest "archive packages that have not had any download activity for 60 days" instead.

gregmagdits commented 8 months ago

The team is going to discuss this early next week. At least a few other people have been caught off guard by this recent change so I personally think it makes sense to figure out a new policy surrounding old packages. I will post an update here when they have a chance to discuss

Just fyi, users automatically loose access to data in their package's once their data-access-request (DAR) expires. They can prevent this by renewing the DAR when the time comes. I believe DAR's are valid for 1 year. Just figured I mention that here in case it has any impact on the project you are working on.

gregmagdits commented 8 months ago

@dmd Unfortunately the team decided that they are not going to make any changes to the 60 day rule. I will follow up with more information on one of your open Help Desk tickets.