Same problem for me too. Downgrading to 5.2.15 solve it.
Feb 16, 2016
5
Level 4
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?
Level 41
This should be fixed in 5.2.17, which isn't out yet.
https://github.com/laravel/framework/commit/0718ac86e38d625812fa80c73bde8539ae9967fe
Please or to participate in this conversation.