# Problem activating workflow. NodeAPIError

**URL:** <https://community.n8n.io/t/problem-activating-workflow-nodeapierror/48509>\
**Category:** Questions\
**Tags:** notion, toggl\
**Created:** [June 14, 2024, 9:02pm UTC](https://community.n8n.io/t/problem-activating-workflow-nodeapierror/48509 "2024-06-14T21:02:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cristobal\_Alarcon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/cristobal_alarcon/32/20163_2.png) [@Cristobal\_Alarcon](https://community.n8n.io/u/Cristobal_Alarcon)\
**Post date:** [June 14, 2024, 9:02pm UTC](https://community.n8n.io/t/problem-activating-workflow-nodeapierror/48509/1 "2024-06-14T21:02:51Z")

</div>

## Describe the issue:

Whenever I run this command:

```auto
docker run -it --rm --name n8n -p 5678:5678 -v C:\Users\billy\.n8n:/home/node/.n8n docker.n8n.io/n8nio/n8n

```

Yields in a looping error. It didn’t used to happen before.

## What is the error message (if any)?

```auto
User settings loaded from: /home/node/.n8n/config
Last session crashed
Initializing n8n process
n8n ready on 0.0.0.0, port 5678
Migrations in progress, please do NOT stop the process.
Starting migration RemoveNodesAccess1712044305787
Finished migration RemoveNodesAccess1712044305787
Starting migration CreateProject1714133768519
Finished migration CreateProject1714133768519
Starting migration MakeExecutionStatusNonNullable1714133768521
Finished migration MakeExecutionStatusNonNullable1714133768521
Version: 1.45.1
 ================================
   Start Active Workflows:
 ================================
   - "Toggl to Notion n8n Custom" (ID: 1)
WorkflowActivationError: There was a problem activating the workflow: "Your request is invalid or could not be processed by the service"
NodeApiError: Your request is invalid or could not be processed by the service
     => ERROR: Workflow could not be activated on first try, keep on trying if not an auth issue
               There was a problem activating the workflow: "Your request is invalid or could not be processed by the service"
Issue on initial workflow activation try of "Toggl to Notion n8n Custom" (ID: 1) (startup)

Editor is now accessible via:
http://localhost:5678/

Press "o" to open in Browser.
Try to activate workflow "Toggl to Notion n8n Custom" (1)
   - "Toggl to Notion n8n Custom" (ID: 1)
WorkflowActivationError: There was a problem activating the workflow: "Your request is invalid or could not be processed by the service"
NodeApiError: Your request is invalid or could not be processed by the service
 -> Activation of workflow "Toggl to Notion n8n Custom" (1) did fail with error: "There was a problem activating the workflow: "Your request is invalid or could not be processed by the service"" | retry in 2 seconds

```

## Please share your workflow

## Share the output returned by the last node

## Information on your n8n setup

- **n8n version:** 1.45.1
- **Database (default: SQLite):** I don’t know
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):** I don’t know
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** Docker
- **Operating system:** Windows 10

---

<div class="post-metadata">

**Author:** ![Cristobal\_Alarcon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/cristobal_alarcon/32/20163_2.png) [@Cristobal\_Alarcon](https://community.n8n.io/u/Cristobal_Alarcon)\
**Post date:** [June 14, 2024, 9:08pm UTC](https://community.n8n.io/t/problem-activating-workflow-nodeapierror/48509/2 "2024-06-14T21:08:21Z")

</div>

It appears to be an issue with Toggl.

Their APIv8 was deprecated and switched over to v9. They link to [this migration guide](https://engineering.toggl.com/docs/additional/v8_migration_guide) but I don’t understand it

---

<div class="post-metadata">

**Author:** ![aya](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/aya/32/194036_2.png) [@aya](https://community.n8n.io/u/aya)\
**Post date:** [June 17, 2024, 11:00am UTC](https://community.n8n.io/t/problem-activating-workflow-nodeapierror/48509/3 "2024-06-17T11:00:48Z")

</div>

Hi @Cristobal_Alarcon, there’s a feature request for this here \> [Toggl API integration update (v8 -\> v9)](http://community.n8n.io/t/toggl-api-integration-update-v8-v9/47274) where you can vote to update the Toggl node 🙂

---

<div class="post-metadata">

**Author:** ![d17e.dev](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/d17e.dev/32/37567_2.png) [@d17e.dev](https://community.n8n.io/u/d17e.dev)\
**Post date:** [June 17, 2024, 11:51am UTC](https://community.n8n.io/t/problem-activating-workflow-nodeapierror/48509/4 "2024-06-17T11:51:55Z")

</div>

I’ve replaced my toggl node with a normal HTTP Request node, which works nicely for now:

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/b/8/b8a189ea0b1ba8d8f989d48b483eb1432895925d.png)

---

<div class="post-metadata">

**Author:** ![Cristobal\_Alarcon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/cristobal_alarcon/32/20163_2.png) [@Cristobal\_Alarcon](https://community.n8n.io/u/Cristobal_Alarcon)\
**Post date:** [June 17, 2024, 8:49pm UTC](https://community.n8n.io/t/problem-activating-workflow-nodeapierror/48509/5 "2024-06-17T20:49:55Z")

</div>

Awesome! Thank you! I’ll have to experiment with a new trigger tho, for whenever I run the docker command to start the workflow.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [June 24, 2024, 8:50pm UTC](https://community.n8n.io/t/problem-activating-workflow-nodeapierror/48509/6 "2024-06-24T20:50:31Z")

</div>

Closed on June 24, 2024, 8:50pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
