Title: REST API wrong source URL
Last modified: November 10, 2023

---

# REST API wrong source URL

 *  Resolved [sfdeveloper](https://wordpress.org/support/users/sfdeveloper/)
 * (@sfdeveloper)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/rest-api-wrong-source-url/)
 * Hey there, great plugin and best cloud image service by far!
 * Maybe you can help us out. We are currently facing an issue with the response
   from the REST API returning a wrong source_url.
 * We are fetching some posts via the WP API, for example [here](https://www.mukken.com/m/wp-json/wp/v2/banner/?_embed&per_page=50&status=publish).
 * Within the response the first entry has following source_url:
 * _“source\_url”: “[https://res.cloudinary.com/simplefox/images/f\_auto,q\_auto/v1689156211?\_i=AA&#8221](https://res.cloudinary.com/simplefox/images/f_auto,q_auto/v1689156211?_i=AA&#8221);,_
 * If you try to open this link, the image won’t show / does not exist. We doubled
   checked the attached image and got following URL within the media listing / on
   single attachment view:
 * [https://res.cloudinary.com/simplefox/images/f_auto,q_auto/v1689156211/blog/mukken-shop-de/mukken-shop-de](https://res.cloudinary.com/simplefox/images/f_auto,q_auto/v1689156211/blog/mukken-shop-de/mukken-shop-de).?
   _i=AA
 * ![](https://i0.wp.com/i.ibb.co/2cYvTyn/Bildschirmfoto-2023-11-10-um-13-14-48.
   png?ssl=1)
 * ——
 * Not only here, we also saw a different file url presented within the single media
   view, vs the media embed modal.
 * media embed modal within post: set featured image
 * ![](https://i0.wp.com/i.ibb.co/mvLL8p0/Bildschirmfoto-2023-11-10-um-13-28-46.
   png?ssl=1)
 * You can see the v1689156211.
 * VS the single attachment view
 * ![](https://i0.wp.com/i.ibb.co/1GrW8y0/Bildschirmfoto-2023-11-10-um-13-29-48.
   png?ssl=1)
 * Here we have a v1689156333.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frest-api-wrong-source-url%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Victor @ Cloudinary](https://wordpress.org/support/users/victorcloudinary/)
 * (@victorcloudinary)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/rest-api-wrong-source-url/#post-17192941)
 * Hi there, as you’ve noticed, the URLs are a bit odd but for multiple reasons.
   You’ve already pointed out the non-working URLs and the properly-working URLs,
   in which the former simply end in the version number _(v1689156211_), which won’t
   work. In addition, typically Cloudinary URLs contain `image/upload/` in them,
   as opposed to `images/`, which does change the URL structure and the actual public
   ID of the image in question is `blog/mukken-shop-de`.
   Could you please submit
   a support ticket at [https://support.cloudinary.com/](https://support.cloudinary.com/)
   and generate a system report to help us better investigate this for you? [https://support.cloudinary.com/hc/en-us/articles/360022260599-How-to-generate-a-system-report-on-the-WordPress-plugin-](https://support.cloudinary.com/hc/en-us/articles/360022260599-How-to-generate-a-system-report-on-the-WordPress-plugin-)
   If you could also reference ticket 250728, that would help us with tracking this
   conversation as well. Thanks!Regards,Victor

Viewing 1 replies (of 1 total)

The topic ‘REST API wrong source URL’ is closed to new replies.

 * ![](https://ps.w.org/cloudinary-image-management-and-manipulation-in-the-cloud-
   cdn/assets/icon-256x256.png?rev=2377259)
 * [Cloudinary - Deliver Images and Videos at Scale](https://wordpress.org/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/)
 * [Active Topics](https://wordpress.org/support/plugin/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cloudinary-image-management-and-manipulation-in-the-cloud-cdn/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Victor @ Cloudinary](https://wordpress.org/support/users/victorcloudinary/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/rest-api-wrong-source-url/#post-17192941)
 * Status: resolved