Telegram AI Chatbot

I am using this Telegram AI chatbot

It works well with Dalle-3 1024x1024 resolution
But When I select 1792x1024 resolution quality it throws an error
The image output i get is: Image

can someone tell me why this error is with higher resolution only? the

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @nahidz3,

That looks like Telegram is not happy with the URL it is being sent, In the input is it showing a URL?

Input showing an URL

but when the ‘send node’ is successful for 1024x1024 resilution.
The URL format is same as the failed attempt (1792x1024)

https://oaidalleapiprodscus.blob.core.windows.net/private/org-vYb3QjEuN5AFubhmawJaYlsY/user-XaugzNzawx40sfMw3CLr8fvg/img-shb1zjqkPmV6jK6bM965WTr1.png?st=2024-01-25T15%3A05%3A57Z&se=2024-01-25T17%3A05%3A57Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2024-01-24T22%3A03%3A02Z&ske=2024-01-25T22%3A03%3A02Z&sks=b&skv=2021-08-06&sig=FyN%2BePYbsTbOyajsoHZMij68R4uBvB7gSJNaPMz9Bc8%3D

The following URL was successfull:

https://oaidalleapiprodscus.blob.core.windows.net/private/org-vYb3QjEuN5AFubhmawJaYlsY/user-XaugzNzawx40sfMw3CLr8fvg/img-VxJ2T4PMcvtVrLbYUnBZBO8d.png?st=2024-01-25T15%3A09%3A27Z&se=2024-01-25T17%3A09%3A27Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2024-01-24T22%3A16%3A08Z&ske=2024-01-25T22%3A16%3A08Z&sks=b&skv=2021-08-06&sig=sXzKeZM%2BeVFzlPJ9YCVoOMzMvb1DF9fFoFVKXYq47I0%3D

They all look good to me, Do the URLs that are returned actually work? Is there a maximum resolution / filesize that Telegram supports as well?

telegram filesize limit is 20mb. this image gets max 7mb
URL are valid. but strange that, when I select anything other 1024*1024
The URL pattern is unsupported on the node. Though URL is identical

Hey @nahidz3,

It isn’t that the URL pattern is unsupported in the node it is Telegram that is rejecting it for some reason. Did you change anything else in the workflow?

Only change I made was the image resolution from the dropdown from open ai node.
Telegram rejection is ODD here because both the image URL is identical here

Hey @nahidz3

They do look to be the same, I am wondering if Telegram has an issue with the data itself. Out of interest can you share a screenshot of the workflow execution when it fails? Maybe there are multiple input items and once of them doesn’t have a URL.