Do you have a colony on that planet? You need one where the minerals are stored (so the storage space is not needed on that mining ship). Also you need to check if the planet is legit for orbital mining. You can see that on the colony overview screen.