Geta / oEmbed

oEmbed for EPiServer CMS
3 stars 6 forks source link

Value cannot be null. Parameter name: value error on @Html.oEmbed(Model) #12

Open KrisBethea opened 3 years ago

KrisBethea commented 3 years ago

I am trying to upgrade to Episerver 11 and I'm getting the error "Value cannot be null. Parameter name: value" Please help

Thank you! Kris

Full error message: oEmbedValueNullError.txt

patkleef commented 3 years ago

@KrisBethea could you try to disable caching? I think it tries to insert an empty object to the cache. Do you get results back from the https://embed.ly/ API?

https://github.com/Geta/oEmbed#cache

KrisBethea commented 3 years ago

I think it might be an empty object into the cache. Where do I set the DisableCache = true?

oEmbedSettings apikey="mykey" DisableCache="true" does not work

I'm so sorry, what am I missing?

KrisBethea commented 3 years ago

Small d

disableCache = "true"

It seems to be working now! :)

Thank you!