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
Steps to reproduce:
Sign up for cloud.onyx.app, create a new api key at https://cloud.onyx.app/admin/api-key and make it an Admin key
Use Postman to issue a GET to https://cloud.onyx.app/onyx-api/ingestion with Auth set to Bearer Token and paste in on_tenant_... api key from above step.
on_tenant_...
Expected result: A JSON response from the API
Actual result: An HTML result that looks like the result of redirecting to the login page:
<!DOCTYPE html> <html lang="en" class="__variable_d65c78 __variable_e06b34"> <head> <meta charSet="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, interactive-widget=resizes-content" /> <link rel="stylesheet" href="/_next/static/css/5831203774076c99.css" data-precedence="next" /> <link rel="stylesheet" href="/_next/static/css/b5de21f291cb83bf.css" data-precedence="next" /> <link rel="stylesheet" href="/_next/static/css/049943baf22d8521.css" data-precedence="next" /> <link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a7c6259a7c0479f9.js" /> <script src="/_next/static/chunks/4bd1b696-96cc20bf2fe4b0de.js" async=""></script> <script src="/_next/static/chunks/2522-1b1d801d033dd256.js" async=""></script> <script src="/_next/static/chunks/main-app-a6f8396603aabdac.js" async=""></script> <script src="/_next/static/chunks/app/global-error-159c1f9be33a11c4.js" async=""></script> <script src="/_next/static/chunks/a63740d3-fb49e3be69920b74.js" async=""></script> <script src="/_next/static/chunks/9081a741-0a36404aaa4a5e39.js" async=""></script> <script src="/_next/static/chunks/08ffe114-4a228a6d4c4e0e30.js" async=""></script> <script src="/_next/static/chunks/9da6db1e-8646894fa2771c38.js" async=""></script> <script src="/_next/static/chunks/9280-7571ecfafe4c1610.js" async=""></script> <script src="/_next/static/chunks/6648-dde23f080ac241b5.js" async=""></script> <script src="/_next/static/chunks/6255-aff61c13ef154b6d.js" async=""></script> <script src="/_next/static/chunks/1063-fea5aae69c68fd1f.js" async=""></script> <script src="/_next/static/chunks/231-946052c12e984c89.js" async=""></script> <script src="/_next/static/chunks/5679-81f5840f27fdcfd4.js" async=""></script> <script src="/_next/static/chunks/5018-1d7f7ac6edc25925.js" async=""></script> <script src="/_next/static/chunks/8496-a0f6fd1b9cd63a3a.js" async=""></script> <script src="/_next/static/chunks/3165-b64622443dcb532c.js" async=""></script> <script src="/_next/static/chunks/8020-35e7ed85552d33b1.js" async=""></script> <script src="/_next/static/chunks/9381-14983dcb875fa2dc.js" async=""></script> <script src="/_next/static/chunks/1508-dd26a11fe6d09b78.js" async=""></script> <script src="/_next/static/chunks/543-b56fb91ce39b3af3.js" async=""></script> <script src="/_next/static/chunks/9459-5b943bbdb3e8f2ee.js" async=""></script> <script src="/_next/static/chunks/6545-c95f0207f63c90af.js" async=""></script> <script src="/_next/static/chunks/app/auth/login/page-6e9a8c0780f6c56e.js" async=""></script> <script src="/_next/static/chunks/app/layout-750bccfc337a4af6.js" async=""></script> <meta name="next-size-adjust" /> <title>Onyx</title> <meta name="description" content="Question answering for your documents" /> <link rel="icon" href="https://cloud.onyx.app/onyx.ico" /> <script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script> </head> <body class="relative __variable_d65c78 font-hanken"> <div class="text-default min-h-screen bg-background "> <!--$--> <!--/$--> <div class="flex flex-col "> <div class="p-4 flex flex-col items-center justify-center min-h-screen bg-background"> <div class="w-full max-w-md bg-black pt-8 pb-6 px-8 mx-4 gap-y-4 bg-white flex items-center flex-col rounded-xl shadow-lg border border-bacgkround-100"> <div style="height:70px;width:70px"><img alt="Logo" loading="lazy" width="70" height="70" decoding="async" data-nimg="1" style="color:transparent" srcSet="/_next/image?url=%2Flogo.png&w=96&q=75 1x, /_next/image?url=%2Flogo.png&w=256&q=75 2x" src="/_next/image?url=%2Flogo.png&w=256&q=75"/> </div> <div class="absolute top-10x w-full"></div> <div class="flex flex-col w-full justify-center"> <h2 class="text-center text-xl text-strong font-bold">Log In to <!-- --> <!-- -->Onyx </h2><a class="mx-auto mb-4 mt-6 py-3 w-full text-text-100 bg-accent flex rounded cursor-pointer hover:bg-indigo-800" href="https://accounts.google.com/o/oauth2/v2/auth?response_type=code&client_id=1085783458085-jvdp13db7u3nnb7e42r1a137t9rkil4g.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fcloud.onyx.app%2Fauth%2Foauth%2Fcallback&state=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuZXh0X3VybCI6Ii8iLCJyZWZlcnJhbF9zb3VyY2UiOiJkZWZhdWx0X3JlZmVycmFsIiwiYXVkIjoiZmFzdGFwaS11c2VyczpvYXV0aC1zdGF0ZSIsImV4cCI6MTczNzMxMjk4M30.0PQFpskzLRxdzExoXiavog-xctxTRG471Ij_9VWznPM&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email"> <div class="mx-auto flex"> <div class="my-auto mr-2"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 488 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"> <path d="M488 261.8C488 403.3 391.1 504 248 504 110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6 98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4z"> </path> </svg></div> <p class="text-sm font-medium select-none">Continue with Google</p> </div> </a> <div class="mt-4 w-full justify-center"> <div class="flex items-center w-full my-4"> <div class="flex-grow border-t border-gray-300"></div> <span class="px-4 text-gray-500">or</span> <div class="flex-grow border-t border-gray-300"></div>
The text was updated successfully, but these errors were encountered:
Hi Jake ... could you try using port 8080 for API calls? That will probably solve your issue.
Sorry, something went wrong.
hi @rkuo-danswer ... I've tried GET to https://cloud.onyx.app:8080/onyx-api/ingestion and also to http://cloud.onyx.app:8080/onyx-api/ingestion with my newly generated Admin tenant token (see screenshot above) and now I get an Error: Request timed out
Error: Request timed out
Sorry, I misspoke here. Try this url with no 8080, but with "api" added.
https://cloud.onyx.app/api/onyx-api/ingestion
Yep, that seems to do it. I would never have known that by reading https://docs.onyx.app/backend_apis/ingestion
No branches or pull requests
Steps to reproduce:
Sign up for cloud.onyx.app, create a new api key at https://cloud.onyx.app/admin/api-key and make it an Admin key
Use Postman to issue a GET to https://cloud.onyx.app/onyx-api/ingestion with Auth set to Bearer Token and paste in
on_tenant_...
api key from above step.Expected result:
A JSON response from the API
Actual result:
An HTML result that looks like the result of redirecting to the login page:
The text was updated successfully, but these errors were encountered: