Hello, so I tried to create a flow that will run each day at the same hour and checks whether it's someone's Birthday. I am trying to add a list of GIF's from an external provider to randomly add to the Happy birthday message. This is how my flow looks like:
Unfortunately, when I test this flow, the following error message appears:
The variable 'Djifkes' of type 'Array' cannot be initialized or updated with value of type 'String'. The variable 'Djifkes' only supports values of types 'Array'.
Anyone that knows what's wrong here? I'm sure this is an easy one for most of you, so apologies for asking.
Solved! Go to Solution.
@BertPlessers It works perfectly fine for me, please see below:
Possible issue at your end could be the Quotes you are putting in, please check. Cosmetic issues, copy your urls in notepad use correct quotes symbol and paste it in your variable value.
Hope it helps!!
Cheers,
Ankesh
--------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
@BertPlessers Looks like there is a comma missing, see below:
Please add it and you should be good.
Hope it helps!!
Cheers,
Ankesh
--------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Thank you for your reply. There was indeed a comma missing, but that didnt solve the problem, unfortunately.
Same error?
I tried with some urls, its working fine. However, I am able to re-create your error when i am removing any comma or quotes.
Therefore, i would recommend you check the values you are pasting when initializing array.
Let me know in case of new error.
Thanks
Ankesh
Yes, that is correct: The variable 'Djifkes' of type 'Array' cannot be initialized or updated with value of type 'String'. The variable 'Djifkes' only supports values of types 'Array'.
Could you please share the urls with me?
Sure, I took random Birthday GIFs for this:
[
“https://media1.giphy.com/media/kMI3z7b9RWrYQbsXd2/giphy.gif?cid=790b7611ab019991b006dd42c4c5fcbac042...,
“https://media1.giphy.com/media/rkoli75BEjGXr7ck4o/giphy.gif?cid=790b76115105a2c57aae406cb1f1e96bd896...,
“https://media1.giphy.com/media/WRL7YgP42OKns22wRD/giphy.gif?cid=790b76112a056d4a02d8b7c590118e1e3769...,
“https://media1.giphy.com/media/3o6fJ16C3AG3ulbIdO/giphy.gif?cid=790b76113a5c924cdb481ab5dcbccd5eea71...,
“https://media2.giphy.com/media/17qey3g3ssNEWSkE5W/giphy.gif?cid=790b7611d3d477255a1778c4a334fbd9e7b2...,
“https://media2.giphy.com/media/DXhmNiA8F1i4fLnMdb/giphy.gif?cid=790b7611005e0feec1f3d89491ebe5402438...
]
@BertPlessers It works perfectly fine for me, please see below:
Possible issue at your end could be the Quotes you are putting in, please check. Cosmetic issues, copy your urls in notepad use correct quotes symbol and paste it in your variable value.
Hope it helps!!
Cheers,
Ankesh
--------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Ankesh, thank you so much for your solution! Carelessness with the quotes was indeed what went wrong. It works now!