Skip to content

Errors on stack delete calls#80

Description

@mainrs

Hey!

I have issues when your program is trying to delete old stacks, I get this error message:

INFO 	Deleted Stack <uuid> - replacing child stack with new one 
INFO 	馃攧 Replacing existing stack (deleted child stacks) 
ERRO Error deleting stack: error response: 400 Bad Request - {"message":"Not found or no stack.delete access"}

The access token has stack.delete permission. And I have never modified any of my stacks at all, so they should still exist. My config is

API_KEY=<token>
API_URL=<ip>/api
RUN_MODE=once

# Stack management
PARENT_FILENAME_PROMOTE=edit,raw
PARENT_EXT_PROMOTE=.jpg,.dng
RESET_STACKS=false
REPLACE_STACKS=true
#DRY_RUN=true

# Logging
LOG_LEVEL=info
LOG_FORMAT=text
LOG_FILE=./logs/immich-stack.log

# Custom criteria

Any idea what the issue might be?

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