Discussions

Ask a Question
Back to All

Invalid Input : oz_sets are empty

I'm trying to replicate an analysis I did on the Insight platform and I keep getting the following error but I can't seem to figure out why:

	'''
  The following is in the payload to post to the analysis url. I have the UUID for the site
  in a dictionary so I can query it quickly. 
  '''
  
  "analysis_name": ANALYSIS_NAME,
            "date_ranges": [{"start_date": date['start_date'],
                             "end_date": date['end_date']}],
            "oz_sets": [{"uuid": site_dict['TLAZ']}],
response = requests.post(analysis_url, json=payload, headers=headers)
print(response.text)
{"message":"Invalid input, oz_sets are empty"}

Any suggestions on how to resolve this?