Skip to content

If there is trailing space in site name in plejd app will generate problem to find site in plugin if you don't put the same in the config #69

@daiswood

Description

@daiswood

I had trailing space at the end of my site name in the plejd app that I didn't know about. That genrated probelm when I config the plugin. Luckily I found the problem and could remove the trailing space. Write this if someone struggle will same problem.

This is the how the log shows but it's har to see that it's trailing space that is the issue:

2025-11-04 00:26:55 INF [plejd-api] Get all Plejd sites for account... 2025-11-04 00:26:55 INF [plejd-api] Got site list response with 1: Uteplats 2025-11-04 00:26:55 ERR [plejd-api] Failed to find a site named Uteplats 2025-11-04 00:26:55 ERR [plejd-api] error: unable to retrieve list of sites. error: API: Failed to find a site named Uteplats Error: API: Failed to find a site named Uteplats at PlejdApi.getSites (/plejd/PlejdApi.js:177:15) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async PlejdApi.init (/plejd/PlejdApi.js:70:9) at async PlejdAddon.init (/plejd/PlejdAddon.js:45:5) at async main (/plejd/main.js:18:5)

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