I've been trying to unload some data from Redshift to the S3 bucket. Except I've been getting the following error:
Amazon Invalid operation: cannot drop active portal; [SQL State=XX000, DB Errorcode=500310]
To note the Redshift and S3 are in 2 different buckets so I specified the region within the unload.
I've tried looking it up, it mentions that I can't drop the table.
So I created a "test" table that I am 100% certain is not connected to any view or other but I still get the same error.
I tried also troubleshooting through AWSQuickSolutions: Redshift Table Can’t Be Dropped or Drop Table Hangs except I do not have access to svv_table_info
.
Is there any way to do the unload?
reporting @nofinator reply since it worked for me and may be helpful for someone else too:
By running the UNLOAD from a different app, in my case the Query Editor in the Redshift Console, resolved the exception Amazon Invalid operation: cannot drop active portal
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With