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

Empty RSS Feed cause error on RSS Feed Trigge #10853

Closed
bjacquemet opened this issue Sep 17, 2024 · 1 comment · Fixed by #10855
Closed

Empty RSS Feed cause error on RSS Feed Trigge #10853

bjacquemet opened this issue Sep 17, 2024 · 1 comment · Fixed by #10855
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@bjacquemet
Copy link

Bug Description

When using a RSS Feed Trigger, if the RSS feed doesn't have entries, then the workflow can't be activated.

Example of an empty RSS feed:

<feed xmlns="http://www.w3.org/2005/Atom" xmlns:idx="urn:atom-extension:indexing">
<id>tag:google.com,2005:reader/user/14265068296652275629/state/com.google/alerts/1327531161528255741</id>
<title>Google Alert - techcrunch travel startup</title>
<link href="https://www.google.com/alerts/feeds/14265068296652275629/1327531161528255741" rel="self"/>
</feed>

A good one would have <entry> nodes.

Example with only one node in the worfklow:
image

The issue might be coming from this line as items can be empty.

To Reproduce

  1. Go to your canvas
  2. Add a RSS Feed trigger
  3. Set the url to an empty google alerts (for example). At the time of writing, this alert is empty
  4. Test the workflow (it runs successfully)
  5. Save (it works successfully)
  6. Try activating the workflow -> It fails.

Expected behavior

You should be able to activate the workflow

Operating System

Ubuntu 23.0.6

n8n Version

1.57.0

Node.js Version

unknown

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Sep 17, 2024

Hey @bjacquemet,

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

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Sep 17, 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

Successfully merging a pull request may close this issue.

2 participants