I believe you need to verify if the clientId is actually valid ( this.client_id ), and then you need to be sure to add the origin from which you are requesting the embed is included in the oAuth origins that you created in the Figma dashboard.