I'm getting an error relate to the line print('outcomeGroupList:',outcomeGroupList)
The error says TabError: inconsistent use of tabs and spaces in indentation
#set the root group id
rootOutcomeGroup = canvas.getRootOutcomeGroup(domain, token, apiType)
#print('rootOutcomeGroup:',rootOutcomeGroup)
#create a full list of outcome groups in account
outcomeGroupList = canvas.getOutcome_groups(domain, token, apiType)
#create a full list of outcomes in account
outcomeList = canvas.getOutcomes(domain, token, apiType)
print('outcomeGroupList:',outcomeGroupList)
#find outcomeID if created
foundOutcome = canvas.findOutcomeID(outcome['title'], outcomeList)
#print(outcomeGroupList)
The error says TabError: inconsistent use of tabs and spaces in indentation
#set the root group id
rootOutcomeGroup = canvas.getRootOutcomeGroup(domain, token, apiType)
#print('rootOutcomeGroup:',rootOutcomeGroup)
#create a full list of outcome groups in account
outcomeGroupList = canvas.getOutcome_groups(domain, token, apiType)
#create a full list of outcomes in account
outcomeList = canvas.getOutcomes(domain, token, apiType)
print('outcomeGroupList:',outcomeGroupList)
#find outcomeID if created
foundOutcome = canvas.findOutcomeID(outcome['title'], outcomeList)
#print(outcomeGroupList)