This question already has an answer here:
I applied to the Netherlands for a Schengen visa, and was refused. I showed hotel bookings for 14 days in the Netherlands, since I didn't have a confirmed itinerary when I applied.
The reason for refusal states:
Sufficient justification for the purpose and circumstances of the intended stay was not provided and the intention to leave the territory of member states cannot be ascertained.
I have two options now: appeal or apply from another country. As of now, I plan to spend the most days of the trip in Spain, so should I apply at the Spanish Embassy?
Would it be a problem, applying to Spain, after the refusal. My flight tickets are to and from Amsterdam, although most of the time would be in Spain.