You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
) gets from request.text() an empty string ''. Which then translates to an error. From the request side it looks like the json has valid data {"_entry":"3","objs":["\u0002#s_vZ1JDpk0Fwo","tool","pexels-jang-鈥榮-:fallen_leaf:-2664216.jpg",["0","1","2"]]} for some reason it doesn't work.
Example code:
//server sideexportconstgetSignedImageUrl=server$(asyncfunction(imageSubject: ImageSubject,imageName: string){// never triggers});//executed on the client sideconstonDrop=$(async(event: Event)=>{constfiles=(event.targetasHTMLInputElement).files;for(constfileoffiles){const{ filePath, url }=awaituploadFile(ImageSubject.Tool,file);
...
}exportasyncfunctionuploadFile(subject: ImageSubject,file: File){console.log(`uploading file: ${file.name}`)// triggersconstresp=awaitgetSignedImageUrl(ImageSubject.Tool,file.name);// returns undefined due to the error 500 }
Which component is affected?
Qwik Runtime
Describe the bug
I'm trying to use server$. It looks like the deserializer (
qwik/packages/qwik-city/middleware/request-handler/request-event.ts
Line 329 in 7ed839f
Example code:
Reproduction
https://github.com/rafalfigura/qwik-cloud-functions-test
Steps to reproduce
To reproduce:
Firebase log with error:
Example working locally
System Info
Locally everything works as expected. When deployed to firebase with `pnpm build, firebase deploy` it throws an error.
Additional Information
More info here:
https://discord.com/channels/842438759945601056/1237142526654414919
The text was updated successfully, but these errors were encountered: