Predict_qa_results access error

Has anyone ever used this endpoint : predict_qa_results

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight/client/predict_qa_results.html

I have admin access but I keep getting the error below;

AccessDeniedException: Failed to fetch IDC user from token

Hello @abel !

Are you targeting a QuickSight account that has Q enabled?

If you have admin access and Q is enabled you should be able to use this endpoint. I would double check that your are performing this in the same region as the QuickSight account.

Hi @abel,
It’s been awhile since we last heard from you, did you have any additional questions regarding your post or were you able to find a work around?

If we do not hear back within the next 3 business days, I’ll close out this topic.

Thank you!