You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
The text was updated successfully, but these errors were encountered:
igorrfc
changed the title
Mint Adapter is failing to handle the :server_closed_request error
Mint Adapter is failing to handle the :server_closed_request error reason
Dec 8, 2022
Hi everyone! My error tracker has been alerting about this error multiple times lately:
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:
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
The text was updated successfully, but these errors were encountered: