We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi , I am trying to connect to the trino server using blow code , and i am getting mising access token error.
can someone please help me. do Rpresto support JWT (access token ) based authentication ?
install.packages("DBI") install.packages("RPresto") library(DBI) library(RPresto) con.trino <- DBI::dbConnect( RPresto::Presto(), use.trino.headers = TRUE, host = "https://tcp.mytriniourl.com", port = 7432, user = "my_user", schema = "my_schema", # Replace 'your_schema' with your schema name catalog = "my_catalog", extra.credentials = "my_access_token" )
Error in .stop.with.error.message(.content) : Query error - 6b4842eb-1726-4a9d-b0ee-0358a50433b7 failed: Missing accessToken Calls: ... checkContentState -> stopWithErrorMessage -> .stop.with.error.message Execution halted
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi ,
I am trying to connect to the trino server using blow code ,
and i am getting mising access token error.
can someone please help me.
do Rpresto support JWT (access token ) based authentication ?
code
install.packages("DBI")
install.packages("RPresto")
library(DBI)
library(RPresto)
con.trino <- DBI::dbConnect(
RPresto::Presto(),
use.trino.headers = TRUE,
host = "https://tcp.mytriniourl.com",
port = 7432,
user = "my_user",
schema = "my_schema", # Replace 'your_schema' with your schema name
catalog = "my_catalog",
extra.credentials = "my_access_token"
)
Error :
Error in .stop.with.error.message(.content) :
Query error - 6b4842eb-1726-4a9d-b0ee-0358a50433b7 failed: Missing accessToken
Calls: ... checkContentState -> stopWithErrorMessage -> .stop.with.error.message
Execution halted
The text was updated successfully, but these errors were encountered: