Awaiting feedback Can not get data when call API GET /oembed

eduto

New member
Affected version
v2.3.4
https://xenforo.bimmerhead.net/api/...ad.net/index.php?media/title-of-the-media.218 this api always return response 400
{
"errors": [
{
"code": "requested_content_unavailable",
"message": "Requested content for URL https://xenforo.bimmerhead.net/index.php?media/title-of-the-media.218/ unavailable.",
"params": {
"url": "https://xenforo.bimmerhead.net/index.php?media/title-of-the-media.218/"
}
}
]
}


how can i solve it (i want to embed content of the url https://xenforo.bimmerhead.net/index.php?media/title-of-the-media.218 into my website
 
Automated triage: Awaiting feedback

Thank you for reporting this issue. We need a little more detail to look into this. The code returns this error when the media item can't be viewed by the account making the API request (a guest if no API key is sent), or when the URL can't be matched to the site.

  • Are you calling the API without an API key? If so, can a logged-out guest open that media item's page in a private browser window? If you use a key, which user is it tied to?
  • Is the media item in a category, or in a personal album with restricted privacy?
  • Does the same API call work for a public thread URL on your site, e.g. /api/oembed?url=<thread URL>?
  • Is your site behind a proxy or CDN such as Cloudflare, and does your board URL use https:// exactly as in the URL you pass?

This is an automated assessment. A member of staff may review and update it.
 
Back
Top Bottom