1password-connect-getfilecontent-fails-4dee01bb7c835122listed
Install: claude install-skill Vectle/skills
## TL;DR
For "error with GetFileContent: need at least version 1.3.0 of Connect for this function,": upgrade your Connect server images to 1.5.5 or later. Set the image tag to 1.5.5 (or newer) for connect-api and connect-sync.
```text
error with GetFileContent: need at least version 1.3.0 of Connect for this function,
detected version 1.2.0 (or earlier). Please update your Connect server
```
## Steps
1. Calling `GetFileContent` through connect-sdk-go against Connect server 1.5.4 errors with:
```
error with GetFileContent: need at least version 1.3.0 of Connect for this function,
detected version 1.2.0 (or earlier). Please update your Connect server
```
2. The call worked fine against 1.5.0. The version in the error is wrong: the server
really is 1.5.4.
3. This is a bug in the Connect server itself, in how the File object's `content_path`
is handled in 1.5.4. The SDK asks the server for the file content, the server's
version detection misfires, and you get the bogus "update your Connect server"
message. Nothing is wrong with your SDK version or your vault items.
4. Upgrade your Connect server images to 1.5.5 or later. In the connect-helm-charts
setup that means bumping both `connect-api` and `connect-sync`:
5. Check what you are running now: `kubectl get deploy -l app=connect -o jsonpath` and
look at the image tags, or check your helm values.
2. Set the image tag to `1.5.5` (or newer) for `connect-api` and `connect-sync`.
3. `helm upgrade` and wait for the rollout to