GSpreadException("headers must be uniques")

호두·2022년 5월 9일
0

에러메시지
Traceback (most recent call last):
File "test.py", line 114, in
all_db_info = worksheet.get_all_records()
File "C:\Python38\lib\site-packages\gspread\worksheet.py", line 417, in get_all_records
raise GSpreadException("headers must be uniques")
gspread.exceptions.GSpreadException: headers must be uniques

원인

스프레드 시트의 header(초기 A행) 요소가 중복되면 안 된다.

해결
header에 각각 고유한 값을 입력한다.

profile
web developer

0개의 댓글