Unexpected end of file

  1. My goal:
  2. Issue:
  3. Steps I've taken to troubleshoot:
  4. Additional info: (Cloud or Self-hosted, Screenshots)

Hi,

I've some PUT requests via REST that worked perfectly fine yesterday, and now they no longer do. I get a "unexpected end of file" error.

Strange enough, when I change the PUT to POST (as test), I get an error from my target, so this confirms that the POST works, why doesn't the PUT work anymore?

Haven't touched the resource, yet all other PUT's are also no longer working. (I started doing some changes afterwards, trying to find the answer, but no success).

Also strange: when I use a PUT in a JS script (also from yesterday), that's no issue today.

So somehow the PUT’s on a resource don’t work, while in a JS they do work.
Kinda confused here. Oh, and the GET’s from that same resource have no issue, they still work.

It does work as a PUT now, still getting the error though. According to Claude; Retool can’t process the answer as JSON and gives an error.
It says that I should just accept it and disable the errors, but I don’t really agree :sweat_smile:

What’s the error msg? Is it 204?

Sometimes what works is recreating the same query. The original query somehow gets corrupted.

Welcome to the community, @jeroendebleecker! This is potentially related to some work that we've been doing to replace one of our older backend libraries. There is a fix just waiting to be reviewed! As soon as it goes live, I'll provide an update here. :+1:

1 Like