Hi, I had the same problem when i received my drone, here is how i solved it:
Re-install the Firmware using DJI Assistant [How To Video]
Do IMU calibration using the DJI Go App [How To Video]
Do Gimbal calibration using the DJI Go App [Just Press calibrate in Gimbal Settings]
Hope it helps...