uploadthing cant use generateReactHelpers to get the uploadFiles function
idk seems off. when calling upload file like in the code i get the error in the screenshot. also there is a screenshot of how i am trying to use genereateReactHelpers



2 Replies
could be the reason that i am using the uploadFile in a "use server" file?
lol i am just dumb. i was using the client library on the server. for anyone as dumb as i am.. look at this: https://docs.uploadthing.com/api-reference/ut-api
Ut API – uploadthing
Docs for the best file uploader to date