3 months ago
Project ID: c9e24aea-f0c9-423a-a70b-9fdef179d6b3
I deployed my backend medusa js + Meilisearch
I have defined env variables, even add some loggers to check if header is really measing.
Attaching ss with how I set and print http request details, and the log output on railway
And still I get this error
MeiliSearchApiError: The Authorization header is missing. It must use the bearer authorization method.
Not able to spot, what am I missing ?
0 Replies
3 months ago
Did you try sending a http request manually with e.g. curl
to verify it wasn't a problem with the library you're using to connect?
Also according to this error can also happen if you provide an invalid host address which they explain as ", i.e if you are using host address without https:// , it will throw that error " - so please check this too
3 months ago
no prob, hopefully you got it working