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

422 Error when creating individual appointment #379

Open
Hassan-Mehmood opened this issue Jun 22, 2024 · 0 comments
Open

422 Error when creating individual appointment #379

Hassan-Mehmood opened this issue Jun 22, 2024 · 0 comments

Comments

@Hassan-Mehmood
Copy link

Hassan-Mehmood commented Jun 22, 2024

Below is the status code and the error i am receiving.
The api does not mention anything related to the max_attendees
status_code = 422
{'errors': {'base': 'Case has been archived.',
'max_attendees': 'is not a number'},
'message': 'Validation Failed'}

The data i am passing
created_appointment = create_individual_appointment(
patient_case_id='1',
patient_id='1447800389544977506',
business_id='1448416425277400868',
practitioner_id='1435322059428210417',
appointment_type_id='1',
starts_at="2024-06-19T08:00:00.000Z",
ends_at="2024-06-22T09:00:00.000Z",
)

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