Still: Wordpress Create a Media Item returns most recent file not the one I want to upload

Hi,
this issue was reported in topic: Wordpress Create a Media Item returns most recent file not the one I want to upload.

I experience the same problem, I try to upload a image file using the Wordpress module “Create a Media Item”, which shows “success” but always returns the latest image file instead of the new uploaded file (which was in fact not uploaded!)

This used to work before! I even create a new very simple scenario with just a HTTP module and I tried both approaches of the WP module (using the file from http module directly OR mapping). Always same result.

Has someone solved this problem or is there a known reason why this happens?

Sven

Hi,

The same recommendations from the original post still applies:

  • Share screenshots of your scenario
  • Share your scenario blueprint
  • Share input/outpt bundles

I will add something else: You say it used to work. Are you able to find the last successful execution of your scenario in your history? If you can, it could help pinpoint the problem if an update of the module (or the Make backend or the WOrdpPress inner workings) is to blame.

L

Hi L,

I made some experiments with an old version and compared it to the new version. I finally found the problem!

The story was:

  • I copied the blueprint to another make instance
  • I had to set up the connection to the wordpress site again
  • Instead of using “https://sqm360.de/wp-json” I wrote “https://www.sqm360.de/wp-json” (added www).
  • That was the only difference I could find and after removing the “www” it worked again

Thanks for making me investigating! :slight_smile:

Sven

2 Likes

Nice sleuthing and good on you for investigating further! Who knows, maybe the other person will see your post and realize they had the same problem, or a similar one.

L