Scene Marker Tags to Scene

:placard: Summary Adds primary tag of Scene Marker to the Scene on marker create/update.
:link: Repository https://github.com/stashapp/CommunityScripts/tree/main/plugins/markerTagToScene
:information_source: Source URL https://stashapp.github.io/CommunityScripts/stable/index.yml
:open_book: Install How to install a plugin?

Really love this plugin! I would like to report a tiny issue.

Since December stash has the ability to edit markers in bulk. If you add tags to a marker this way, the plugin fails to tag the scene. If you tag a single marker in the usual way that still works. I guess it’s a problem in the plugin?

DEBU[2026-02-19 13:57:03] [Plugin / Scene Marker Tags to Scene] Mode is hook
DEBU[2026-02-19 13:57:03] [Plugin / Scene Marker Tags to Scene] processMarker (allTags = true) [object Object]
ERRO[2026-02-19 13:57:03] SceneMarker.Update.Post [Scene Marker Tags to Scene]: returned error: Error: graphQL query failed: 422 - {"errors":[{"message":"cannot be null","path":["variable","input","id"],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}}],"data":null}. Query: mutation sceneUpdate($input: SceneUpdateInput!) {  sceneUpdate(input: $input) {    id  }}. Variables: map[input:map[id:<nil> tag_ids:[0xc002422e40]]] at github.com/stashapp/stash/pkg/javascript.(*GQL).AddToVM.(*GQL).gqlRequestFunc.func1 (native)
DEBU[2026-02-19 13:57:03] [Plugin / Scene Marker Tags to Scene] Mode is hook
DEBU[2026-02-19 13:57:03] [Plugin / Scene Marker Tags to Scene] processMarker (allTags = true) [object Object]

It’s not a big deal fortunately because that “Process all markers” button in Settings > Tasks still works like a charm.