> ## Documentation Index
> Fetch the complete documentation index at: https://www.ayrshare.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 如何修复 500 Internal Server Error

> 了解 Ayrshare API 返回 500 Internal Server Error 的原因、如何诊断请求，以及解决问题并重试发帖的步骤。

如果你收到 500 错误，且信息为 "Internal Error" 或 "Internal Server Error"，请先确认调用的 URL 是否与 Ayrshare 文档中描述的一致。

若 URL 没问题，Internal Error 通常表示你的服务器与我们的云服务商 Google 之间存在网络连接问题。
若出现该错误，请重试你的请求。

其他可能的原因：

<ul>
  <li>
    发送的 JSON 无效。更多信息请见：[无效
    JSON](https://www.ayrshare.com/docs/help-center/technical-support/response-returns-as-bad-request.md)。
  </li>

  <li>
    端点超时。我们建议改用新的基础 API 端点：[新的基础
    API 端点](https://www.ayrshare.com/docs/help-center/technical-support/response-bad-gateway-502-or-504-error.md)。
  </li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.