Coinbase Pro historical data not working
The reason it was pulling data when I dropped the "start" or "end" part of the code was because the API then ignored that parameter and returned the default result.

the solution was to import the 'datetime' package and format the 'start_time" and "end_time" objects using datetime. for example:

start_time = datetime.datetime(year,month,day)