In Google Drive I want copy a single sheet from a spreadsheet to another spreadsheet so I use this API:
https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.sheets/copyTo
I start from 2 spreadsheet that I'm able to open and update using gspread. But when I run the Python code I get a 500 Internal Server Error.
googleapiclient.errors.HttpError: <HttpError 500 when requesting https://sheets.googleapis.com/v4/spreadsheets/myID/sheets/0:copyTo?alt=json returned "Internal error encountered.">
Same results if I test API directly from the API page. Why?
I also check if gspread has a similar api but I don't found nothing of similar