コミュニティアチーブメントバーを展開する。

解決済み

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

Avatar

Level 1

Hello everyone,

I’m attempting to use the animateFromAudio() Quick Action in the Adobe Express Embed SDK (v4). According to the documentation, this method should accept an audio file as input, but I keep getting the following error when I pass type: "audio" in my docConfig.asset:


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

(async () => {
const hostInfo = {
clientId: "MY_CLIENT_ID",
appName: "AudioToAnimation",
};

const configParams = {
loginMode: "delayed",
};

const { quickAction } = await window.CCEverywhere.initialize(hostInfo, configParams);

// base64Audio is an MP3/WAV file read as base64 from a FileReader
quickAction.animateFromAudio(
{
asset: {
data: base64Audio,
dataType: "base64",
type: "audio", // Triggers INVALID_PARAMETERS error
}
},
{
callbacks: {
onError: (err) => console.error("Error:", err),
}
}
);
})();

 

looks like the demo is showing the wrong type too!

RobsonGo_0-1737345129148.png

 



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: 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?

Thanks in advance for any help or guidance!



i tried to followg too:

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

1 受け入れられたソリューション

Avatar

正解者
Community Advisor and Adobe Champion

Hi @RobsonGo 

 

There's a dedicated community for Adobe Express SDK that can assist you more effectively with this. Please repost your question there: https://community.adobe.com/t5/adobe-express-embed-sdk/ct-p/ct-express-embed-sdk?page=1&sort=latest_... 

 

Thank you.



Esteban Bustamante

元の投稿で解決策を見る

1 返信

Avatar

正解者
Community Advisor and Adobe Champion

Hi @RobsonGo 

 

There's a dedicated community for Adobe Express SDK that can assist you more effectively with this. Please repost your question there: https://community.adobe.com/t5/adobe-express-embed-sdk/ct-p/ct-express-embed-sdk?page=1&sort=latest_... 

 

Thank you.



Esteban Bustamante