john.spurlock
04/25/2022, 10:57 PMVitali
04/25/2022, 10:57 PMjohn.spurlock
04/25/2022, 10:57 PMVitali
04/25/2022, 10:57 PMVitali
04/25/2022, 10:57 PMjohn.spurlock
04/25/2022, 10:58 PMVitali
04/25/2022, 10:59 PMjohn.spurlock
04/25/2022, 11:00 PMVitali
04/25/2022, 11:02 PMjohn.spurlock
04/25/2022, 11:02 PMVitali
04/25/2022, 11:02 PMVitali
04/25/2022, 11:03 PMjohn.spurlock
04/25/2022, 11:32 PMAA
04/26/2022, 12:52 AMvasco-santos
04/26/2022, 8:10 AM"The value cannot be converted because it is not an integer."
Note that this only happens when I do a R2 put with response.body
from Worker Binding fetch response. If I do a put with other response.body
it works fine. Sadly, the error is not informative 🤷♂️john.spurlock
04/26/2022, 1:35 PMVitali
04/26/2022, 2:00 PMVitali
04/26/2022, 2:00 PMVitali
04/26/2022, 2:09 PMThe value cannot be converted because it is not an integer
could be coming from. There's nothing in the runtime for put
public beta bindings that takes in a WebIDL integer which is where that error would come from. The internal beta bindings would generate that error but it sounds like you're saying it's conditional on the type of ReadableStream
you're putting in there.andrew
04/26/2022, 2:09 PMVitali
04/26/2022, 2:10 PMandrew
04/26/2022, 2:10 PMvasco-santos
04/26/2022, 2:14 PMvasco-santos
04/26/2022, 2:15 PMVitali
04/26/2022, 2:16 PMvasco-santos
04/26/2022, 2:17 PMvasco-santos
04/26/2022, 2:18 PMVitali
04/26/2022, 2:18 PMvasco-santos
04/26/2022, 2:19 PMVitali
04/26/2022, 2:19 PM