dusterio's avatar

Bug in the latest API throttle middleware?

After upgrading to the latest version (5.2.16) all requests in the 'api' group stop working:

Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to Illuminate\Routing\Middleware\ThrottleRequests::addHeaders() must be an instance of Illuminate\Http\Response, instance of Illuminate\Http\JsonResponse given

Downgrading fixes the problem.

Anybody aware of this bug?

0 likes
5 replies
sdebacker's avatar

Same problem for me too. Downgrading to 5.2.15 solve it.

publiux's avatar

I just upgraded and am experiencing the same issue. Back to 5.2.15 we go!

Please or to participate in this conversation.