how to change the file type from binary to .png?

Faced the problem when I was sending a binary file through the api.

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:

Hi @Atom, welcome to the community!

This is an error message coming from the API you’re calling rather than a message generated by n8n itself. Seeing I don’t have access to the file you are downloading and then sending it’ll also be hard to make an educated guess here. Can you confirm how the binary data looks like you’re getting in your “Get avatars2” node?