Back

Max retries exceeded

  • 0
  • Self Hosted
  • Functions
A
6 Feb, 2025, 12:42

Hi! I use data query to execute a function from the frontend but always get an error: HTTPConnectionPool(host='***', port=80): Max retries exceeded with url: /v1/databases/playground/collections/Standards/documents?queries%5B0%5D=limit%2825%29&queries%5B1%5D=offset%280%29 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fda8585e460>: Failed to establish a new connection: [Errno 22] Invalid argument'))

TL;DR
Issue: Error "Max retries exceeded" when trying to execute a function from the frontend using data query. Solution: The error is caused by a failure to establish a new connection. Check the host and port in the URL to ensure they are correct. Additionally, verify the limit and offset parameters in the query.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more