https://discord.gg/botpress logo
Google Calendar Check Availability fails with inte...
# 🤝help
c
Hello Botpress team, I am experiencing a persistent issue with the official Google Calendar integration in my Viber agent. The following has already been verified: - Google Calendar API is enabled. - The Google Cloud service account is active. - The service account private key is active. - The Google Calendar integration shows "Connected". - The agent is published and online. - The appointment scheduling playbook is triggered correctly. However, the Check Availability tool consistently fails. The execution logs show:
Tool "googlecalendar_checkAvailability" failed
execution_error
The agent runtime hit an internal error. Reference: ...
The agent attempts to execute the tool multiple times, but every attempt fails. All visible events show "Processed", and the Issues section shows "No issues found". I would appreciate technical guidance on the following: 1. How can I access the detailed execution logs, including the tool input parameters and the original Google API error? 2. Does the Service account private key field accept literal \n characters from the Google Cloud JSON file, or does it require actual line breaks? 3. How can I determine whether the failure is related to authentication, calendar permissions, calendar ID, private key formatting, input parameters, or an internal Botpress integration issue? 4. Can the Botpress team investigate the internal error using its reference identifiers if I provide them privately? Thank you for your assistance.
r
Hey , Its Imperial Agency PK , can you please guide me with the issue of adding variables , or tell me the limit of them ? Thank You
l
Botpress's Logs/Inspect view can help trace tool executions, although the original Google API error may not be exposed directly. The private key should retain its complete PEM format, including line breaks; if using literal
\n
, it may need conversion to actual line breaks depending on how the integration parses it. To isolate the cause, verify calendar sharing permissions, Calendar ID, credentials, and tool input parameters, then test the Google Calendar API independently. Yes, Botpress support can investigate the internal error using the reference IDs provided privately. I can help you troubleshoot the integration, inspect the service account configuration, test the API connection, and identify whether the failure is coming from Google Calendar, the tool parameters, or Botpress's runtime. @cold-ghost-19978
Hey In Botpress, variables can be created at different scopes, such as workflow, conversation, user, and bot level. The limits depend on the variable type and platform plan, so there isn't one universal limit for all variables. I'd be happy to help you set them up correctly, troubleshoot any issues adding variables, and check whether you're running into a platform limitation. @rhythmic-airline-48054
r
I created some variables in Workflow , some are strings , some are number , very less are Boolean , Tell me which screenshots do you need to troubleshoot the problem
l
Thanks for the screenshots. Your variables look fine, and Botpress doesn't set a hard cap on how many you can create. The limit that usually causes trouble is the 128 KB state size, which fills up with large stored data (API responses, arrays) or when workflows chain into each other without ending. To pinpoint it, I need three things: a screenshot of the exact error (or the Logs tab when it fails), the Emulator Debugger showing your variable values, and the card where you're storing data into a variable. DM me and I'll go through your bot with you, find the cause, and get it fixed quickly. @rhythmic-airline-48054
r
Like there is no error in the code , but the node isnt storing values , Also i have an issue that i have connected my google sheets with botpress , gave all permissions still my bot isnt updating or writing leads in google sheets
c
Thank you, Elijah, for your response. The Google Calendar API is enabled, the service account is active, and the integration shows "Connected". However, the Check Availability tool consistently fails with an internal runtime error. Could you please clarify the following? 1. What is the exact PEM private key format required by the Google Calendar integration in Botpress Viber? 2. How can we test the Google Calendar API independently of Botpress? 3. Is there a way to inspect the exact tool input parameters and the original Google API error? 4. Is there an official procedure for reporting internal runtime error reference IDs while using the free plan? I would prefer to continue troubleshooting in this public thread without sharing private credentials or granting access to my agent. Thank you for your assistance.
2 Views