If you receive a 502 or 504 HTTP error with a “Bad Gateway” message or timeout while trying to post a large media file, please try sending the post as a scheduled post with a scheduleDate or use the api.ayrshare.com endpoint, which allow for longer processing times. See the /post endpoint for details.

https://api.ayrshare.com/api/{endpoint name}

For example, instead of https://app.ayrshare.com/api/post, use https://api.ayrshare.com/api/post

You may use the api.ayrshare.com for the /post endpoint or any other endpoint.