Get accounts action is failing in workflows based on identity id from trigger identity attributes changed

Hi,

trying to get accounts using GetAccounts action in Workflows using trigger step identity id but ending up with below error, any help provided appreciated.

“error”:“json: cannot unmarshal string into Go struct field GetAccountsInput.valueList of type string”

thanks

Hi and Hello,
@PrashRV

The error message you’re encountering indicates that the JSON being passed to the GetAccounts action is not correctly formatted. Specifically, it suggests that a string is being passed where a list of strings is expected for the valueList field.

To resolve this, you need to ensure that the JSON structure you are passing to the GetAccounts action matches the expected structure.

Regards,
Adam

Hi Adam,

thanks much for the reply, but this what I am doing in get accounts.
image

pls let me know if I am doing anything wrong.

thanks

Hi @PrashRV ,

I don’t see any mistakes/errors here. can you share the json of this workflow by hiding the sensitive data’s if any. It would be helpful to moveforward.

Thanks!!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.