When attempting to the create a session for Nylas Scheduler on V3, the following error response is received:
{
"request_id": "c2*****-6e6a-4**f-a88d-3***940",
"error": {
"type": "invalid_request_error",
"message": "Configuration does not require a session"
}
}
This response indicates that the current configuration of the Scheduler does not require a session to authenticate.
Endpoint
- POST /v3/scheduling/sessions
Causes
- The error arises when trying to create a session for a Scheduler configuration that is public, meaning it does NOT require session authentication (
requires_session_auth: False
). The endpoint is designed to facilitate session creation only when it is necessary for end users to authenticate before they can book a meeting.
Resolutions
- Check Configuration: Ensure that the Scheduler is set up with the
requires_session_auth: True
configuration if you require session-based authentication. This setting mandates that end users authenticate themselves before booking a meeting. Follow the guidelines to check the Scheduler configuration: Return Configuration Object
- Update Configuration: If the current Scheduler configuration does not require session authentication but needs to, update the configuration. Follow the guidelines provided in the Nylas documentation to modify the Scheduler configuration: Update Configuration object
Resources
Updated
Comments
0 comments
Please sign in to leave a comment.