I agree with you. The phrase implies the question: do you want a juice? In the fuller sentence, it clearly needs accusative case. I was torn between what I felt was correct, and what I thought Duolingo wanted. I used "ein" but am glad to hear that it takes "einen Saft," too.