Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

QuickAction animateFromAudio: "INVALID_PARAMETERS" for asset type "audio"

New Here ,
Jan 21, 2025 Jan 21, 2025

Hello everyone,


# Issue with Adobe Express Embed SDK - animateFromAudio Quick Action

## Environment
- SDK Version: v4
- Browser: [Microsoft Edge Version 132.0.2957.115]
- Client ID: Properly configured in Adobe Developer Console
- Implementation: Web application using vanilla JavaScript

 

## What I'm Trying to Achieve
I'm trying to implement the animateFromAudio quick action to create animations from audio files using the Adobe Express Embed SDK. The goal is to allow users to upload an MP3 file and convert it into an animation.

 

## Current Implementation
I've followed the demo example, github and sdk from the documentation:

 

javascript const docConfig = { asset: { type: "image", dataType: "base64", data: base64Audio // Base64 encoded audio file } }; const appConfig = { callbacks: { onCancel: () => {}, onError: (err) => { console.error('Error:', err); }, onLoadStart: () => {}, onLoad: () => {}, onPublishStart: () => {}, onPublish: (publishParams) => {} } }; const exportConfig [ { action: { context: 'new', target: 'express' }, id: 'editor', label: 'Open in Adobe Express', style: { uiType: 'button' } }, { action: { target: 'publish', outputType: "URL", closeTargetOnExport: true }, id: 'saveToHostApp', label: 'Save in App', style: { uiType: 'button' } } ];

 

 

 

looks like the demo is showing the wrong type too!

 

Robson_Gomes1737_1-1737461032368.pngexpand image

 


## The Issue
When trying to use the animateFromAudio quick action, I'm receiving the following error:

 

INVALID_PARAMETERS: QuickActionDesignConfig/docConfig/asset/type
must be equal to one of the allowed values

 

When type is set to "audio", the SDK returns “INVALID_PARAMETERS” and fails. From what I can tell, 'audio' isn’t in the set of valid asset types—only "image", "video", "pdf", etc.

 

Question:

1. Is animateFromAudio() actually available in the public version of the SDK, or is it still in a private/beta phase? Are there any feature flags or special entitlements required to use it? If it’s in beta, how can I request access or enable it for my account?


2. I've tried several variations of the docConfig structure including:
 Using different asset types ('MEDIA', 'URL', 'QUICKACTION', 'IMAGE')
Adding additional metadata (mimeType, format) Structuring the data with source and type properties

What is the correct asset structure for audio files in the animateFromAudio quick action?

 

3. Are there specific requirements for the audio file format or size?
4. Is there a real a working example of the animateFromAudio implementation? because the github v4-example does not work too (same error)

 

 

Any guidance or examples would be greatly appreciated.

 

i tried too:

https://github.com/AdobeDocs/cc-everywhere/tree/main/v4-sample

Bug Unresolved
TOPICS
Error
63
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 Comment
Adobe Employee ,
Jan 23, 2025 Jan 23, 2025
LATEST

Hi @Robson_Gomes1737 , 

We are checking this issue. We shall get back to you. 

Nimitha | Adobe Community Moderator
Translate
Report