fix inconsistent s3 metadata field names #1360
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #1350
When attempting to update the config of an existing version of a recipe dataset, we get a weird "signature does not match" error. This occurs on calling
put_object
when the object already exists. Googling has been entirely unhelpful - this error seems to occur when people have bad credentials.This makes me think that this might be something to do with Digital Ocean - I can't imagine there are that many folks using boto3 with DO, which would be a possible reason for lack of other people having this issueIssue was with the metadata I was attempting to push. Due to a bug in our code, when pulling metadata and then pushing again (and "merging" with standard generated metadata), there ended up being a both a "date-created" field and "date_created" field, with differing values. Resolving this resolved the issueThis logic maybe needs a little reworking in general - not great that I had to change multiple literals.
Actions (all using dev bucket)
These were run in order