Reputation: 125
I am getting the error "SQL access control error: Insufficient privileges to operate on account 'XXXXXX'" when I try to create a role in Snowflake in order to get it connected to Segment.
I am following the Segment documentation here: https://segment.com/docs/connections/warehouses/catalog/snowflake/
And I am getting stuck when I run the command "CREATE ROLE "SEGMENT";
"
Any help in how to get around this would be great. I am currently on the trial and was able to successfully create the data warehouse and database as per the segment instructions.
Upvotes: 0
Views: 884
Reputation: 125
Thanks to Greg in the comments: "An easy way to remember it is that the upper right role is for UI actions, while the lower one sets the context for the worksheet"
1) while I had the correct profile up here
2) once I clicked this
3) I did not have the right profile in here
After switching to ACCOUNTADMIN in 3) I was able to create the role.
Upvotes: 1