You probably already checked this up, but if not, you might want to check if the fare is upgradeable to a higher fare that allows mileage accrual.
I was in the exact same situation, when ticketed to AF N tickets that wouldn't give me miles/status to my DL account. Since N was the lowest fare at the time, it was truly a happy surprise that I could upgrade it to a higher fare (for a penalty of course).
Also, if you booked less than 24h ago, the entire booking may be fully refunded, depending on where and how you purchased the ticket.
Good luck!