n8n-io / n8n

Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
https://n8n.io
Other
42.92k stars 5.61k forks source link

Youtube integration fails using date filters #9007

Open h3ct0r12 opened 3 months ago

h3ct0r12 commented 3 months ago

Bug Description

Using the filter by "Publisher after" or "publisher before" fails when apply the "fixed" calendar. Error gives info about google expects time-zone notation

#######ERROR MESSAGE########### Bad request - please check your parameters Invalid value at 'published_after' (type.googleapis.com/google.protobuf.Timestamp), Field 'published_after', Illegal timestamp format; timestamps must end with 'Z' or have a valid timezone offset.

To Reproduce

Use Youtube item configuring:

Resource

Operation

Channel ID

Filters (OR)

Expected behavior

By ussing the Fixed date in youtube, the query should use the date introduced and apply the workflow timezone to obtain list of videos between selected dates in the workflow timezone.

Operating System

docker

n8n Version

1.33.1

Node.js Version

18.19.1

Database

SQLite (default)

Execution mode

main (default)

Joffcom commented 3 months ago

Hey @h3ct0r12,

Thanks for the report, I have created NODE-1288 as the internal dev ticket to get this resolved. As a temporary solution you could use an expression instead or manually input the date.