The first sounds like you reserved a half hour of time and used that time to find a parking space. It is not a common sentence. The second is a complaint about the length of time it required for you to find a place to park.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
guava keyboard“I took half an hour to find the place”It is, to me, an unnatural sentence.
guava keyboardon the second option,in the second option,
guava keyboardon the first sentence,in the first sentence,
AlpheccaStarsa half an hourIn British English, the "a" would not be included.