I am trying to migrate from Trello to my self-hosted instance (on a physical PC) which is not accessible from the internet.
My publicurl is set to my PC’s name, since that make sense when using the instance internally.
My questions are:
- Which domain should I register with trello when I setup my
app-key? According to theconfig.ymlI have to use the same domain for theredirecturl. - I thought Trello required that both an
app-keyand atokenis used to connect?
My current migration config looks like this:
migration:
trello:
# Whether to enable the Trello migrator.
enable: true
# The client id, required for making requests to the trello api.
# You need to register your Vikunja instance at https://trello.com/app-key (log in before you visit that link) to get one. Copy thePersonal Keyand set it as the client id. Add your Vikunja domain to the Allowed Origins list.
key: “…”
# The url where clients are redirected after they authorized Vikunja to access their trello cards.
# This needs to match the url you entered when registering your Vikunja instance at trello.
# When using the official Vikunja frontend, set this to<service.publicurl>/migrate/trello(the default value).
# Otherwise, set this to an url which then makes a request to /api/v1/migration/trello/migrate
# with the code obtained from the Trello api.
redirecturl: “http://MACHINENAME/migrate/trello”
My log file gives me the following message:
level=ERROR component=http method=GET uri="/api/v1/notifications?page=1" status=401 latency=518µs err="code=401, message=missing, malformed, expired or otherwise invalid token provided"