See "Error: Your alert could not be saved." message in embedded looker

Jared_Sohn
Participant I

We are trying to create an alert in embedded looker but get that error message. The create alerts message is set for the embedded user. Why can’t the user create alerts?

0 6 509
6 REPLIES 6

Maddie
Participant IV

Hi Jared,

I am wondering what permissions were given to the embed user?

They need to have the create_alerts permission, which is dependent on access_data → see_looks.

More details on permissions here.

Best,

Jared_Sohn
Participant I

This user has the create_alerts permission. I would think that Looker would hide that UI if the user doesn’t have the right permissions anyway.

Maddie
Participant IV

Hi Jared,

What method of embedding are you using and where is the permission being set up?

Best,

Jared_Sohn
Participant I

It is SSO embedding and the permissions are set via a user role.

Maddie
Participant IV

Hi Jared,

With SSO embed via URL, there is also a permission set within the URL which override the role permissions.

Could you please check what the URL permissions are? The URL might look something like this:

https://analytics.mycompany.com/login/embed//embed/dashboards/1?
nonce="22b1ee700ef3dc2f500fb7"&
time=1407876784&
session_length=86400&
external_user_id="user-4"&
permissions=["access_data","see_user_dashboards","see_looks"]&
models=["model_one","model_two"]&
group_ids=[4,3]&
external_group_id="Allegra K"&
user_attributes={"vendor_id":"17","company":"xactness"}&
access_filters={}&
first_name="Alice"&
last_name="Jones"&
user_timezone="US/Pacific"&
force_logout_login=true&
signature=123456789ABCDEFGHIJKL

Best,

Jared_Sohn
Participant I

No permissions are set via the url.