Hi Ícaro Costa ,
Welcome to Microsoft Q&A platform and thanks for posting your question here. As I understand your issue you are facing an error : "BadRequest" when you are trying to test connection of a JSON dataset inside your dataflow. Please let me know if that is not the case .
Make sure you are not using Self hosted IR in dataflow since Dataflow only supports Auto Resolve Integration Runtime
Point the linked service to AutoResolve Integration Runtime that is the default IR in Azure datafactory.
Hope it helps. Please do consider clicking Accept Answer
and Up-Vote
for the same as accepted answers help community as well.