Hi @oanielsen,
Please refer this links to get more insights on this error that you are getting. I hope this might help.
Link 1 - Quicksight dataset with API table map
Link 2 - Quicksight API
Let us know, if still you have any questions.
Thank you,
Shravya