-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When attempting to send a booking request to Cal.com via the voice assistant, the API responds with a 401 Unauthorized
error. The response indicates that no apiKey
was provided, causing the booking request to fail.
Logs:
INFO:voice-assistant:Sending booking request to Cal.com: {'eventTypeId': 1659032, 'start': '2025-01-18T10:00:00.000Z', 'end': None, 'email': '[email protected]', 'name': 'Micros', 'notes': '', 'language': 'en', 'timeZone': 'UTC', 'bookingRequest': {'respondOnce': True}}
INFO:voice-assistant:Sending booking request to Cal.com: {'eventTypeId': 1659032, 'start': '2025-01-18T10:00:00.000Z', 'end': None, 'email': '[email protected]', 'name': 'Micros', 'notes': '', 'language': 'en', 'timeZone': 'UTC', 'bookingRequest': {'respondOnce': True}}
{"message": "Sending booking request to Cal.com: {'eventTypeId': 1659032, 'start': '2025-01-18T10:00:00.000Z', 'end': None, 'email': '[email protected]', 'name': 'Micros', 'notes': '', 'language': 'en', 'timeZone': 'UTC', 'bookingRequest': {'respondOnce': True}}", "level": "INFO", "name": "voice-assistant", "pid": 12, "job_id": "AJ_TbfNJPYDqwAN", "timestamp": "2025-01-14T18:43:28.703183+00:00"}
INFO:voice-assistant:Cal.com API response: 401 - {"message":"No apiKey provided"}
ERROR:voice-assistant:Failed to schedule appointment. Status: 401. Response: {"message":"No apiKey provided"}
INFO:voice-assistant:Cal.com API response: 401 - {"message":"No apiKey provided"}
{"message": "Cal.com API response: 401 - {\"message\":\"No apiKey provided\"}", "level": "INFO", "name": "voice-assistant", "pid": 12, "job_id": "AJ_TbfNJPYDqwAN", "timestamp": "2025-01-14T18:43:28.804502+00:00"}
ERROR:voice-assistant:Failed to schedule appointment. Status: 401. Response: {"message":"No apiKey provided"}
{"message": "Failed to schedule appointment. Status: 401. Response: {\"message\":\"No apiKey provided\"}", "level": "ERROR", "name": "voice-assistant", "pid": 12, "job_id": "AJ_TbfNJPYDqwAN", "timestamp": "2025-01-14T18:43:28.804770+00:00"}
Expected Behavior:
The booking request should be successfully processed, provided all required information is supplied.
Actual Behavior:
The booking request fails with a 401 Unauthorized
response, indicating that the API key is missing, even though it takes the input of Event ID but not api key
Environment:
- Service Name: Voice Assistant
- API: Cal.com
- Job ID:
AJ_TbfNJPYDqwAN
- Timestamp:
2025-01-14T18:43:28
Metadata
Metadata
Assignees
Labels
No labels