Giter VIP home page Giter VIP logo

Comments (6)

jsancho avatar jsancho commented on May 26, 2024 1

It either has to be a full verbatim match, or a regex. So if you intend for that API key to allow access to all collections that start with jsancho_ you want to set it up as jsanco_.* in the API key collections key

Yikes! that was pretty daft of me.

I'll create some new keys and reconfigure the function.
I would have sworn that's the key I used to initially populate the collection, but I must have used on of the auto-generated ones at the beginning.

thanks! 🙏🏻

from firestore-typesense-search.

jsancho avatar jsancho commented on May 26, 2024

here's the full stack trace in case this helps

image

from firestore-typesense-search.

jasonbosco avatar jasonbosco commented on May 26, 2024

Could you make sure that you're using your Typesense Admin API key (and not your search-only api key) when configuring the extension?

You can verify your API keys' permissions by going to the API Keys section in your Typesense Cloud cluster dashboard (on the right side pane at the bottom).

from firestore-typesense-search.

jsancho avatar jsancho commented on May 26, 2024

Could you make sure that you're using your Typesense Admin API key (and not your search-only api key) when configuring the extension?

You can verify your API keys' permissions by going to the API Keys section in your Typesense Cloud cluster dashboard (on the right side pane at the bottom).

Yes, the key is one with access to all actions but a restricted set of collections.
image

I have actually used that key to populate the collections initially from a local node project, so it should be fine.

image

from firestore-typesense-search.

jasonbosco avatar jasonbosco commented on May 26, 2024

Looks like the collections permission is configured incorrectly in Typesense Cloud.

It either has to be a full verbatim match, or a regex. So if you intend for that API key to allow access to all collections that start with jsancho_ you want to set it up as jsanco_.* in the API key collections key

from firestore-typesense-search.

jasonbosco avatar jasonbosco commented on May 26, 2024

Happy to help!

from firestore-typesense-search.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.