Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asana node fails to load all tasks from a workspace #10740

Closed
leikoilja opened this issue Sep 9, 2024 · 6 comments
Closed

Asana node fails to load all tasks from a workspace #10740

leikoilja opened this issue Sep 9, 2024 · 6 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@leikoilja
Copy link

Bug Description

Calling asana node for loading all tasks and specifying both assignee and workspace fails with
Bad request - please check your parameters. Weird thing is that workspace seem to be repeated twice, comma-separated.

image

To Reproduce

  1. add asana node
  2. set to load all tasks for assignee from a workspace

Debug info

core

  • n8nVersion: 1.58.0
  • platform: docker (self-hosted)
  • nodeJsVersion: 18.20.4
  • database: postgres
  • executionMode: scaling
  • concurrency: -1
  • license: community
  • consumerId: unknown

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: memory

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

Generated at: 2024-09-09T14:41:30.583Z

Expected behavior

load tasks without issue

Operating System

docker

n8n Version

1.58.0

Node.js Version

18.2004

Database

PostgreSQL

Execution mode

queue

@Joffcom
Copy link
Member

Joffcom commented Sep 9, 2024

Hey @leikoilja,

We have created an internal ticket to look into this which we will be tracking as "GHC-216"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Sep 9, 2024
@Joffcom
Copy link
Member

Joffcom commented Sep 10, 2024

Hey @leikoilja,

I am not able to reproduce this, How many tasks does that user have?

image

@leikoilja
Copy link
Author

Thanks for the quick response @Joffcom. The user does not have many tasks, max a few dozens (surely under 100 tasks). Weird thing that it was been working until it "just stopped" a few weeks ago.

i previously was on v1.33.0 but after this integration stopped working, i bumped to v1.58.0 with no changes.

what's weird to me is that doubled workspace id in the QP, i cannot piece together were it might be coming from...

if the same thing works for you, I wonder if it may help for me to remove auth creds and re-do them 🤔

@Joffcom
Copy link
Member

Joffcom commented Sep 10, 2024

Hey @leikoilja,

Yeah the double ID is very odd, It could be worth deleting the node and adding it again.

@leikoilja
Copy link
Author

leikoilja commented Sep 10, 2024

@Joffcom, i think i managed to replicate it now. there must be an issue with API pagination.

i have just been try-and-error playing with that and notices that when i deselect return all - it works as expected but returns 100 items with a warning:
image

100 is also a default limit, but i cannot set it higher than 100 because API returns another error saying it must be <= 100.

i guess i was wrong with my estimation that user tasks will be less then 100 😅

@Joffcom
Copy link
Member

Joffcom commented Oct 29, 2024

Hey @leikoilja,

This should have been fixed in 1.65.1 in the PR below, I am going to mark this as closed but if it is still an issue feel free to open it again.

#11415

@Joffcom Joffcom closed this as completed Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants