Skip to content

Some ATS integrations work on some tenants but return empty responses on others for candidates #34

@io-ma

Description

@io-ma

Hello, thank you for offering this python wrapper , it is very useful.
We are trying to pull candidates from Breezy HR. The problem is the response we get is an empty list although we know for sure that there are candidates in that Breezy HR account.
We noticed a similar problem on Lever: on some tenants it works, but on others it returns an empty list.
Attaching a screenshot with the printed response:
Screenshot 2022-03-03 at 19 22 05

Here's the call I make (this works just fine for other ATS integrations):

 with MergeATSClient.ApiClient(configuration) as api_client:

            api_instance = candidates_api.CandidatesApi(api_client)
            ats_integration = Integration.objects.filter(type='ATS').first()
            x_account_token = ats_integration.account_token

            try:
                api_response = api_instance.candidates_list(x_account_token=x_account_token, page_size=page_size, first_name=first_name, last_name=last_name)
                print('merge response', api_response)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions