wordpress-webmention icon indicating copy to clipboard operation
wordpress-webmention copied to clipboard

Potential issue when sending vouch parameter

Open gRegorLove opened this issue 2 years ago • 3 comments

I posted this reply to a WordPress post and my automated Webmention-sending included a vouch parameter. I received an HTTP 400 error with body:

{"code":"rest_missing_callback_param","message":"Missing parameter(s): source, target","data":{"status":400,"params":["source","target"]}}

target and source parameters were included, so my initial thought was maybe the plugin failed to parse them due to an unexpected vouch param?

The webmention parameters my site sent:

source=https%3A%2F%2Fgregorlove.com%2F2022%2F05%2Fhi-matt%2F \
&target=https%3A%2F%2Flordmatt.co.uk%2Ftechnology%2Fthe-internet%2Fsocial-media%2Fjoining-the-indieweb \
&vouch=https%3A%2F%2Findieweb.org%2Fthis-week%2F2017-04-07.html

gRegorLove avatar May 21 '22 22:05 gRegorLove

@lordmatt, could you confirm what version of the WordPress Webmention plugin your site is running?

gRegorLove avatar May 21 '22 22:05 gRegorLove

@gRegorLove is this error only when you send the vouch param?

pfefferle avatar May 22 '22 11:05 pfefferle

@pfefferle I haven't tried manually re-sending it via curl yet. I ended up using the form on the original post to submit my URL. I got a success message.

gRegorLove avatar May 23 '22 19:05 gRegorLove

I experienced this again with another WP site. This like post and the sent webmention:

source=https%3A%2F%2Fgregorlove.com%2F2022%2F11%2Fstar-asserting-the-right-to-exist%2F
&target=https%3A%2F%2Ftracydurnell.com%2F2022%2F11%2F23%2Fasserting-the-right-to-exist-in-public-online-spaces
&vouch=https%3A%2F%2Findieweb.org%2Fthis-week%2F2017-04-07.html

Response:

{"code":"rest_missing_callback_param","message":"Missing parameter(s): source, target","data":{"status":400,"params":["source","target"]}}

gRegorLove avatar Nov 24 '22 04:11 gRegorLove

This seems to be fixed now, feel free to re-open if not.

pfefferle avatar Jan 03 '24 09:01 pfefferle