HELP WITH RegisterStreamingFileFromUrl

I have this code, but the problem is when i use the streamed file it’s a YCD, it is invalid and doesn’t load.