🐛 BUG: getPlatformProxy
DO proxy "undefined" is not a valid JSON
#5620
Labels
bug
Something that isn't working
regression
Break in existing functionality as a result of a recent change
wrangler
Relating to the Wrangler CLI tool
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
wrangler@3.50.0
What version of Node are you using?
20
What operating system and version are you using?
Mac
Observed behavior
When using
getPlatformProxy
with recent version of wrangler (v>=3.46.0) it seems like DurableObject proxies don't properly work and when trying to fetch from them an response saying thatundefined
is not a valid JSON value is presented:Expected behavior
Fetching from a DurableObject proxy should work as expected (as it worked with wrangler versions <= 3.45.0):
Minimal reproduction
https://github.com/dario-piotrowicz/getPlatformProxy-DO-JSON-issue-repro
The text was updated successfully, but these errors were encountered: