QuickAction animateFromAudio: "INVALID_PARAMETERS" for asset type "audio" | Community
Skip to main content
January 20, 2025
Solved

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

  • January 20, 2025
  • 1 reply
  • 471 views

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!

 



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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by EstebanBustamante

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_replies&lang=all&tabid=all 

 

Thank you.

1 reply

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
January 21, 2025

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_replies&lang=all&tabid=all 

 

Thank you.

Esteban Bustamante