Cannot regenerate access token by valid refresh token for gcp vertexai Text embedding.
saifulazad opened this issue · comments
Description
Typesese cannot refresh access token by refresh token for GCP vertexai TextEmbedding model.
model name : gcp/textembedding-gecko@001
Steps to reproduce
- I have created access and refresh token via OAuth2 playground
- perfrom indexing 1000 documents successfully.
- After 1 hour, I tried to perfrom indexing 1000 documents again
Expected Behavior
- System will automatically refresh access token by refresh token
Actual Behavior
API response with status code is 400
RequestMalformed: Request failed with HTTP code 400 | Server said: GCP API error: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential.
Metadata
Typesense Version:
typesense:0.25.2
OS:
Mac Somona 14.4