Issue with get_sheet_as_excel() – KeyError: 'content-disposition'

Options
DevLiam
DevLiam
edited 06/27/25 in API & Developers

I am using Python smartsheet sdk to connect to smartsheet. The line 

smartsheet_client.Sheets.get_sheet_as_excel(sheet_id, folder_path)

 was working fine until yesterday. Now it's failing with KeyError: 'content-disposition'. No changes were made to the code or permissions. Please advise on how to resolve this.

Thanks,

Liam

Comments

NEW Smartsheet API Documentation - bookmark the updated link! https://developers.smartsheet.com