Problem Generating Embed URI using API

Hello Looker Devs,

We are trying to call lookers API  ​create_sso_embed_url to generate a url we can use with an iframe to embed in another app.We were able to get past the authentication error, but now we are getting a 404 ‘resource not found’. Any thoughts ? I have attached our postman response and request. thanks . ps i was not able to find this error listed in the api’s reference 

af41cc61-a54d-4f0a-bbc9-47e07961a7b3.png
e002d88e-329b-41f6-9d00-ac068804b945.png

Request URL: https://domain.cloud.looker.com:443/api/3.1/embed/sso_url

Authorization Header: Bearer type token, must be generated using login api from api docs.

Request Body:

{

"target_url": "https://domain.cloud.looker.com/dashboards-next/15?Cusip=00036110",

"session_length": 86400,

"force_logout_login": true,

"external_user_id":"user-4",

"permissions":["access_data","see_looks", "explore"],

"models": ["Fixed_Income"]

}

Response:

eb47f75e-a0d4-485e-b733-c904a67637e7.png
0 1 426
1 REPLY 1

I’m not sure if you’ve managed a fix yet but in my request body I include external_group_id as well as group_ids (I don’t believe first/last name are necessary but they might be). Also, the target URL in my request body follows this format: https://my-instance.cloud.looker.com/embed/dashboards/1 (replace 1 with your dashboard #).

Top Labels in this Space