I encountered a similar error on another resource.
Recently (21-10-2024) a new version of the azapi provider has been released (2.0.1) try setting the version to 1.15.0.