Acceleration pedal sensor error or is it?

My Mazda's engine light comes on both while stationary and while driving. the gas pedal does not work and the error code is an acceleration pedal sensor error. I changed the accelerator pedal, but the fault is still present at the Mazda dealership and other car repair shops can't find the fault.

Has anyone come across this problem?
 
Back