If I consider a finite length of wire in which current I is flowing. if I consider a circular loop above the finite wire, such that the current passing through that circular loop is zero. According to ampere's law. The current passing through that loop is zero and hence the magnetic field in that region of loop must be zero according to ampere law But by using biot savart law , the magnetic field in that region of loop is not zero
I am confused that by using ampere's law I get that the magnetic field is zero at that region but by using biot savart law I get magnetic field is not equal to zero.
I am explaining my situation through the diagram above