Skip to content

GetAllAssets can't decode JSON response #1399

Closed

Description

@chrisjeter

immich server version 3.0.3 immich-go version 0.32.0. When executing upload via the following command $immichExe upload from-folder --api-key=$apiToken --server https://photos.server.com --folder-as-album=FOLDER --no-ui $path the following error is returned: GetAllAssets, POST, https://photos.server.com/api/search/metadata, 200 OK
can't decode JSON response: json: cannot unmarshal number into Go struct field Asset.Assets.items.duration of type string.

Activity

  1. stevenroose commented on Sep 16, 2026

    @stevenroose

    Why is this marked completed? Was it fixed? Did you do something wrong?

  2. chrisjeter commented on Sep 21, 2026

    @chrisjeter
    Author

    It was my error. I run immich-go with a wrapper script and it was picking up an old version of immich-go which had a higher path priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions