Unable to create embed URL

Hello,

I am unable to generate an embedded app URL via POST-ing to the following URL:

https://*redacted*.retool.com/api/embed-url/external-user

with the following fields:

l

andingPageUuid = *redacted*

groupIds = *redacted*

externalIdentifier =*redacted*

environment = Development

I have verified all of the details above. The error returned is a 403 with the following body:

{

"error": true,

"message": "Group does not belong to organization"

}

And the following headers:

date: Tue, 26 Mar 2024 17:30:10 GMT

content-type: application/json; charset=utf-8

content-length: 64

x-request-id: 99fbc1e0430fc03ed6ce054ee7e41afc

x-retool-api-version: 3.40.0-44dd2bc (Build 162943)

etag: W/"40-h2zHnS7wLEWNNdXNfvfm/oxagZw"

strict-transport-security: max-age=15724800; includeSubDomains

Related to this, I am also unable to set a custom domain under the organization’s branding page.

The error is “Unable to verify this domain. Make sure your DNS A record is configured correctly”

I have verified via dig that the IP addresses listed in the documentation are correctly resolving.

This was resolved by switching the body type from URLEncoded to JSON

1 Like