Is there a way to update all blocks in the UI to b...
# ask-community
k
Is there a way to update all blocks in the UI to be the latest version of itself? E.g., I have different versions of an
S3 Bucket
block. One is older and has deprecated fields, another seems like the (current) newest version, etc.
1
n
hi @kiran - unfortunately there's no way to do this natively / automatically however if you know which fields have been deprecated between the version of your blocks you have save / want to update to, I could help you write a small script to migrate them
k
hey @Nate — no worries. I just had a few and was cleaning some up anyway, so I redid some and deleted others as needed. Thanks!
n
ok! sure thing
k
@Nate speaking of blocks... my coworker, @Evan Dong, realized that in the newest version, they had to update the email creds block to use "SSL" instead of "465". We ended up creating a whole new email creds block (with a new app password) because we weren't sure if updating the current info would break flows that are running in past versions. Do you have any insight into this?
n
hey @kiran - when you say
in the newest version
do you mean the newest version of
prefect
or
prefect-email
?
e
prefect-email
!
k
n
okay - I'm not sure, but let me look into this
k
thanks!
n
hmm I don't see a specific reason why
updating the current info would break flows that are running in past versions
did you encounter an error with your new email credentials setup? if so could you share what that is?
k
@Evan Dong you were getting errors using the original/old creds, right? Do you still have what the error was