see
USB hardware - Wikipedia
The controller's socket is a micro USB type A socket, it accepts BOTH micro USB type A (rectangle) and B type plugs (phone connector with chamfered corners) BUT both MUST be correctly orientated. The DJI cable has a type A plug.
In addition the plug that goes into the controller's micro USB type A socket MUST, from memory, be OTG (It has a bit of additional wiring).
Normally a cable sold as an extended cable for a Mavic style controller would be on OTG cable.