Debugging Typesense API Key Error
TLDR James is getting an error related to the x-typesense-api-key
header in their Typesense project. Harrison suggests passing the API key in the HTTP header, and Jason advises checking the key via curl and possibly closing a duplicate Typesense server.

Jan 26, 2022 (20 months ago)
James
12:42 PMx-typesense-api-key
header must be sent" anyone got any idea on how to fix it?Harrison
12:45 PMx-typesense-api-key
header with your api key?James
12:47 PM
Harrison
12:48 PMHarrison
12:48 PMJames
01:29 PMHarrison
01:32 PMJames
01:42 PMJason
02:06 PMJason
02:06 PMJames
02:23 PMmkdir /tmp/typesense-data
./typesense-server --data-dir=/tmp/typesense-data --api-key=$TYPESENSE_API_KEY --enable-cors and this is the output
Jason
03:12 PMJason
03:13 PMps aux | grep typesense
it will show you the process IDJason
03:13 PMkill <process id>
Jason
04:02 PMTypesense
Indexed 2764 threads (79% resolved)
Similar Threads
Issues with Generating Scope API Keys in Python
Danny had issues generating a valid scope API key in a Python GraphQL server. Jason suggested encoding changes and confirmed that the key length varies. Issue unresolved with Python, although JS library worked.
Connection Refused Issue with Typesense and Nginx Reverse Proxy
Karthik experiences a connection refused problem with Typesense and Nginx reverse proxy. Jason helps troubleshoot, but the issue remains unresolved.


Typesense Error in Unit Testing for Python
Mehdi was encountering errors while running unit tests for Typesense functionalities in Python. Through discussion with Kishore Nallan, they recognized resource constraints might be causing the issue during JSONL file import. As suggested by Kishore Nallan, adding a short sleep after the import resolved the problem.
Resolving Issues with Scoped API Keys in Typesense with Golang
Suvarna had problems with generating and using scoped API keys in Typesense with Golang. Several bugs misleading the user were found and fixed by Kishore Nallan.



Deploying Typesense in GCP Cloud Run
Christian had difficulties obtaining an API key for deploying Typesense in GCP Cloud Run. Kishore Nallan guided on API key creation when setting up Typesense server and suggested checking the Typesense self-hosting guide. Christian decided to run the Typesense in Kubernetes instead of Cloud Run. Nasim thanked Christian for sharing findings.
