-
Notifications
You must be signed in to change notification settings - Fork 357
Open
Description
Hi everyone! My error tracker has been alerting about this error multiple times lately:
FunctionClauseError: no function clause matching in anonymous fn/2 in Tesla.Adapter.Mint.reduce_responses/3
File "lib/tesla/adapter/mint.ex", line 328, in anonymous fn/2 in Tesla.Adapter.Mint.reduce_responses/3
File "lib/enum.ex", line 2468, in Enum."-reduce/3-lists^foldl/2-0-"/3
File "lib/tesla/adapter/mint.ex", line 298, in Tesla.Adapter.Mint.receive_packet/4
File "lib/tesla/adapter/mint.ex", line 258, in Tesla.Adapter.Mint.receive_responses/4
File "lib/tesla/adapter/mint.ex", line 197, in Tesla.Adapter.Mint.format_response/3
File "lib/tesla/adapter/mint.ex", line 59, in Tesla.Adapter.Mint.call/2
File "lib/tesla/middleware/retry.ex", line 88, in Tesla.Middleware.Retry.retry/3
File "timer.erl", line 266, in :timer.tc/3
As you can see, there is no clear information about which request exactly this error is happening, thus I can't provide a way to reproduce it. I have the arguments being passed to the reduce_responses/3 fn though:
The first one is:
{:error, #Reference<0.4006778225.3585081345.246352>, %Mint.HTTPError{reason: {:server_closed_request, :internal_error}, module: Mint.HTTP2}}
And the second apparently is the API response containing (on map format) containing a data attribute.
Any thoughts about what could be the issue there? Thanks and let me know if I can provide more information or help :D
Metadata
Metadata
Assignees
Labels
No labels