Work with Cvent API bug fix related to rate limit.

This commit is contained in:
Scott Idem
2022-02-07 15:03:24 -05:00
parent 8d7063c116
commit 7ee782fb6a
3 changed files with 33 additions and 13 deletions

View File

@@ -298,7 +298,7 @@ async def get_person_w_external_id(
log.info(f'Something went wrong while trying to create or update the person in Aether based on Cvent data. Cvent (Person) Contact ID: {cvent_person_contact_id}')
return mk_resp(data=None, status_code=400, response=commons.response,status_message=f'Something went wrong while trying to create or update the person in Aether based on Cvent data. Cvent (Person) Contact ID: {cvent_person_contact_id}') # Bad Request
else:
log.info(f'More than one result was returned with the external ID. External ID: {email}')
log.info(f'More than one result was returned with the external ID. External ID: {external_id}')
return mk_resp(data=None, status_code=400, response=commons.response) # Bad Request
# ### SECTION ### Return successful results