143 questions
1
vote
0
answers
67
views
Puppet bolt run with sudo
I want to run a puppet bolt script with sudo. The problem is, if I elevate my user with '--run-as root' the script doesn't run as root, it still gives me a 'permission denied'. But if i try it with ...
0
votes
1
answer
76
views
Neo4j results to JSON in Python
While python Neo4j library, with bolt driver, when executing queries by session.run(query) I receive a result object that can be manipulated perfectly. In the other hand Neo4j browser interface, when ...
1
vote
0
answers
162
views
Getting We had some trouble connecting. Try again? when trying to update modals
I am developing a slack bolt JS application where user can approve/reject tasks.
I am trying to open a new modal (after one API call) which will confirm if the task is completed or not and this is ...
1
vote
0
answers
163
views
How to set bolt connection.recv_timeout_seconds hints in metadata
I am using Neo4j 5.10 community edition as a graph computing engine.
There are series of datasets are used for some graph algorithm. The size of the graph is different but mainly more than 1 million ...
1
vote
1
answer
59
views
How to create index in anzo graph?
When attempting to create an index using the cypher query, in bolt CLI provided with anzograph setup an exception is thrown:
CREATE INDEX person_index FOR (n:person) ON (n.name)
Error - at line 1 ...
0
votes
0
answers
62
views
Slack bolt for javascript: Create files using output from an api response
I am building a slack app using slack bolt and I am fetching data from a certain endpoint. Is it possible to retrieve it and write it as a file. Something similar to fs.write on node?
This is what I ...
2
votes
1
answer
248
views
Get int value from Enum in Visual Scripting (Unity)
I'm creating a game in Visual Scripting in Unity.
I created an enum in a C# Script because I read that we can't create Enum in Visual Scripting (if someone knows how to do it, I would be very grateful)...
0
votes
0
answers
285
views
AWS Neptune - Open Cypher Connectivity
How to connect to AWS Neptune using bolt protocol?
Followed https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-opencypher-bolt.html and couldn't succeed. What is AuthTokens.none() mean ...
0
votes
1
answer
95
views
Which version of Bolt does ongdb enterprise 1.0.5 expect?
I get this error: Server did not accept any of the requested Bolt versions ([4]bolt.protocolVersion{bolt.protocolVersion{major:0x5, minor:0x0, back:0x0}, bolt.protocolVersion{major:0x4, minor:0x4, ...
0
votes
1
answer
238
views
Response format for a Slack modal submission using Bolt?
I'm using Bolt for developing my slack bot, but I'm having trouble submitting the pop-up modal. My understanding is that this modal will send a POST payload to /slack/form URL (see photo below), so I'...
0
votes
1
answer
167
views
Query to AWS Neptune from Lambda via Bolt driver times out with no response
My query from an AWS Lambda function (Javascript) to an AWS Neptune database, using the Bolt protocol (neo4j-driver) times out without returning a response. I've turned on debug mode and the ...
0
votes
1
answer
116
views
Neo4j throwing a ProtocolException when cancelling a transaction
Using neo4j as the db for an api, if a user makes repeated requests using the same or similar parameters (for example, they're requesting many pages of data by scrolling through a list and only the ...
1
vote
0
answers
510
views
What is the Slack CLI and how is it used?
I'm going to develop a Slack app.
I've followed an official Slack.com tutorial on Bolt to make a simple app and I kinda get what's going on there.
I've followed another tutorial for the Slack CLI that ...
0
votes
1
answer
118
views
What is the right way to send Messages to a channel or user via a slackbot?
I am working on a solution that automates a certain process using a slackbot.
The actual process is automated using a pipeline. If a user types the command, the slackbot starts pipeline for the user ...
1
vote
1
answer
209
views
Date specific queries to AWS neptune using java bolt driver
I want to add edges to AWS neptune Graph DB using bolt java driver. And one of the property of the edge contains date and time. But it seems that neptune supports java.util.Date Object but bolt driver ...
2
votes
1
answer
2k
views
Uploading file to slack using `uploadV2` only partially uploads the file
I'm uploading files to slack via the node.js Bolt SDK. However, only the first 66kb of the file gets uploaded to slack. This is fine for small text documents, but not useful for images etc. Here is ...
-2
votes
1
answer
521
views
Unity visual scripting not changing sprite
For some reason, the API only support visual scripting which is hell for me. But some of the function work and some don't, not sure if it's bug please help.
This is driving me crazy because I try to ...
1
vote
1
answer
2k
views
Slack App API in Glitch / Bolt Not Getting Actions
I am new to building Slack apps, and I am stumped. I am using Glitch, Bolt, and Socket Mode. I was able to create a message block and successfully send it to users in my workspace. However, I can't ...
4
votes
2
answers
239
views
Memgraph C# Connection Issue (Session NullReferenceException) using Neo4j.Driver
I need to connect to my memgraph server (runs through docker), but any basic example I try ends up with a null reference exception when running any query.
The code I am using is:
public async void ...
1
vote
0
answers
219
views
Can't add an object from scene to a Visual Scripting node in Unity
I can't add an object from scene to a Visual Scripting node in Unity. While I am dragging a object from a samplescene section to a scipt graph on a GameObject node it shows an unavailable symbol and I ...
0
votes
1
answer
1k
views
"error - unhandledRejection: Error: listen EADDRINUSE: address already in use :::3000" when I use Slack Bolt for JavaScript with ngrok and Next.js
Background
We are developing a Slack Bot. This time we are using Bolt for JavaScript (Node.js) provided by Slack, React, Next.js, and ngrok. Here is what each of them does.
Bolt for JavaScript: I don'...
0
votes
1
answer
3k
views
SLACK BOLT PYTHON - Although the app should be installed into this workspace, the AuthorizeResult (returned value from authorize) for it was not found
I want to build a simple Slack bolt python project so I followed this document.
but when I use python_dotenv and then run my main file (app.py) I face this error:
As `installation_store` or `authorize`...
0
votes
1
answer
636
views
Slack Bolt (Python) get values from modal and datepicker errors
I am creating a Slack app in Bolt framework for Python. I successfully created new command, which open new modal window with text input and datepicker.
The problem is, that when trying to submit I ...
1
vote
1
answer
592
views
Slack bot not allowing users to submit, "We had some trouble connecting. Try again?"
I'm trying to get a slack bot to create a modal which is then responded to by app.views. I use socket mode. Whenever you press submit, it says "We had some trouble connecting. Try again?" ...
0
votes
1
answer
874
views
How can I call chatPostMessage() as a response action in Bolt for Java Slack Modals?
I want to publish messages submitted on a modal view to the same channel: (https://api.slack.com/surfaces/modals/using#modal_response_url).
This is how the chatPostMessage() method looks and is ...
1
vote
1
answer
2k
views
Slack API : how to update a user message from a button in ephemeral message
I exposed to you my problem with ephemeral message and update of user message
A simplified user case can :
when you write "hi" in a channel, that triggers an ephemeral message with a button &...
2
votes
1
answer
2k
views
Slack bot - registering to a message-event not getting triggered
We created a Slack app using Bolt and Javascript.
We wanted to listen to messages coming from the Slack app. We went to the api.slack.com and added message.app_home event
According to the ...
0
votes
1
answer
2k
views
Slack API Events are not registering in our application
Hello Fellow Slack Bot Enthusiasts.
It's my first time to start setting up a Slack Bot (and I don't have a lot of dev experience, so I wanted to inquire!) .
For this, I used python and Slack bolt.
...
1
vote
1
answer
1k
views
How to pass input value after button clicked on modal in slack bolt?
I'm trying to pass value of input box on modal after click "Submit".
But I don't know how to get the value. I've searched ack, body, client, payload but i couldn't find it.
I already ...
0
votes
1
answer
180
views
Getting <@[object Object]>! error when creating first HelloWorld bot in Slack / Bolt
I'm trying to create my first HelloWorld bot following this official tutorial using Bolt (https://api.slack.com/tutorials/hello-world-bolt).
The code is almost unchanged from the tutorial (only ...
0
votes
1
answer
441
views
Does Memgraph have a Neo4j-compatible HTTP API?
A friend of mine has recommended me to write my program using Neo4j HTTP API to connect to Memgraph graphdatabase. I didn't manage to do that. Is this even possible or am I trying to do something that ...
0
votes
1
answer
91
views
Is there a difference between this configuration settings for Bolt on Memgraph?
When defining configuration settings for Bolt that will connect to localhost what is the preferred way?
--bolt-address=0.0.0.0
--bolt-address=127.0.0.1
--bolt-address=localhost
Can I use any of ...
2
votes
0
answers
836
views
Slack Bolt Java SDK - multiple app.message events with different regex stomp on each other
I have a Slack Bolt Java SDK bot (based on Spring Boot) and am using the app.message() function. It is documented in the events API here - https://slack.dev/java-slack-sdk/guides/events-api.
The ...
0
votes
1
answer
52
views
Are queries over Bolt visible in logs?
Are queries over Bolt visible in logs or other places and is it possible to secure them against unintended viewers who might intercept them?
0
votes
0
answers
410
views
Slack API Bolt-JS is not differentiating `app.message`'s
In this minimal example :
app.message(/Foo/i, async ({ message,say }) => {
await say("Bar!")
})
app.message(/Snoo/i, async ({ message,say }) => {
await say("Reddit!")
})
...
0
votes
1
answer
476
views
How does Obi app estimates bolt taxi prices
From the official documentation of bolt taxi app, they have listed there is no private or public Api. How does Obi taxi app shows the estimate of bolt?
https://play.google.com/store/apps/details?id=...
0
votes
1
answer
4k
views
How do you send HTTP POST Requests from a slack app in socket mode?
I am currently creating a bolt slack app with JavaScript that needs to send out an HTTP POST request to an external webhook when a button click occurs. Sending data to my slack app from external ...
0
votes
1
answer
245
views
How can I reconnect a Photon Bolt client after it disconnects?
I'm trying to make a Photon Bolt game that connects two devices. The problem is that the Client tends to get disconnected a lot, an it doesn't reconnect automatically. I've tried using methods like ...
1
vote
0
answers
703
views
How to use the block "select menu with external options" while using the socket mode in slack bot?
So I have created a slack-bot using the bolt-python framework and I have enabled socket mode for better security as it won't expose public endpoints.
This bot is intended for my company to integrate ...
7
votes
1
answer
4k
views
What could be the reasons for a slack expired_trigger_id error?
At times when I try to open a slack modal, it gives an expired_trigger_id error in production. How do I debug and find out why it is happening? I am using slack bolt in js for creating the chatbot.
1
vote
2
answers
2k
views
I have a message error about my signingSecret for slack bot
I'm a begginer in development and I try to develop a slack bot with the following code:
const {App} = require('@slack/bolt');
const app = new App ({
token : process.env.SLACK_BOT_TOKEN,
...
0
votes
1
answer
180
views
Neo4rs BoltType Float f64
I am using Neo4rs and I'm having troubles with floats. The following code
let mut result = graph.execute(
query("CREATE (p:PERSON {height: $height}) RETURN p")
....
2
votes
2
answers
6k
views
is there any way to send message to thread in slack bolt?
I am trying to do this tutorial in python.
https://api.slack.com/tutorials/tracks/responding-to-app-mentions
However, it only sends to 'channel', not message 'thread' in channel(the message which user ...
0
votes
0
answers
237
views
Match multiple keywords from string in Python
Doing some exploratory Python, be gentle with me :)
I'm trying to parse a message I'm receiving in Python. What I want to do is: if the 1-n list of keywords I'm looking for in the message match, ...
1
vote
1
answer
492
views
Can you use facts in a YAML based Bolt plan?
The Bolt docs on Writing plans in YAML gives an code snippet that is not supposed to work:
steps:
- targets: $targets
description: Apply a file resource
resources:
- type: file
...
0
votes
1
answer
282
views
onbuttonclick - Unity with Bolt
I am using Unity with Bolt visual scripting and having some issues. I have a 2d Mobile App and basically what I want to do is when the user touches a sprite it starts spinning on every axis. Although ...
1
vote
1
answer
1k
views
Neo4j Browser bolt connection through reverse proxy can't connect
The core question I have is how do I force the Neo4j web browser to attempt database connections at the address I choose?
I am running the Neo4j CE docker container along with an nginx reverse proxy ...
1
vote
1
answer
2k
views
forward a message with slack API getting invalid_blocks error
I'm trying to simply get a message from one channel and forward it to another.
all I do is listen to messages on the channel, get the blocks, i.e.:
[{"type":"rich_text","...
0
votes
1
answer
1k
views
Should you use Slack's Bolt Python SDK to handle OAuth installation flow?
I am trying to develop a simple event-driven Slack bot that uses a user and a bot token to perform some authenticated API calls to Slack's Web API. The bot is functional, except I can't figure out how ...
0
votes
1
answer
958
views
Slack bolt - HTTP Request - assyncronous
I'm using Slack Bolt Framework with Javascript and I'm trying to do a http request. The problem is that the code is not waiting the request to be finished even using async/await. It always gives '...