Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected 404 with Direct Tenant ID #319

Open
chris-john-hopkins opened this issue Sep 19, 2024 · 2 comments
Open

Unexpected 404 with Direct Tenant ID #319

chris-john-hopkins opened this issue Sep 19, 2024 · 2 comments

Comments

@chris-john-hopkins
Copy link

chris-john-hopkins commented Sep 19, 2024

Description
I encountered an unexpected 404 Not Found error when attempting to retrieve contacts using the get_contacts method with the tenantId directly fetched from client.last_connection. However, if I first assign the tenantId to an intermediate variable and then use that variable in the get_contacts method, the call works as expected.

404

client.accounting_api.get_contacts(client.last_connection['tenantId'])

Works as expected

tenant_id = client.last_connection['tenantId']
client.accounting_api.get_contacts(tenant_id)

Seems very odd to me.

Copy link

PETOSS-592

Copy link

Thanks for raising an issue, a ticket has been created to track your request

@chris-john-hopkins chris-john-hopkins changed the title 404 when passing in last_conne Unexpected 404 with Direct Tenant ID Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant