> ## 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.

# Errors making requests with the API

A few things to check to verify you have all the required information to successfully post, or call any API endpoint.

1. Verify you are sending the API\*KEY, found in the Ayrshare GUI dashboard under API Dashboard, in the header as an [Authorization Bearer](/apis/overview#authorization) token. Also the proper [Content Type](/apis/overview#content-type) must be set.
2. For POST calls, validate properly formatted JSON is being sent in the body. Online tools can assist such as [https://jsonlint.com/](https://jsonlint.com/)
3. If sending media via an external URL, make sure the proper [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) is set for the image or video.
4. Review the required endpoint's required parameters to be sure they are included and have the proper format.
