1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cannot implicitly convert type 'string' to...

Discussion in 'Programming/Internet' started by user607648, Sep 12, 2018.

  1. user607648

    user607648 Guest

    I have looked and looked for about two hours now for an answer to this error while using the YouTube data API. No matter what, this error will not go away except when casting or using "0" (no other number works and I know it does something because the results change with the 0). However, when I cast it to an enum the error goes away and then the YouTube server claims this value does not exist.

    Here are my two attempts (there were many more before I deleted them)

    [​IMG]

    Does anyone know how to fix this? It also happens with other values in the YouTube API as well (anything that's an enum).

    I was thinking if I can't fix it then I should probably just use GET requests from the site.

    Login To add answer/comment
     

Share This Page