Skip to content

Error 400 Bad Request about... missing target AND source parameter? Even though the request says it's there. #24

@ShadowKyogre

Description

@ShadowKyogre
Testing Data Value
Source URL https://aeons-library.gq/inspiration/media
Target URL[0] https://brid.gy/publish/twitter
Target URL[1] https://fed.brid.gy/webmention
PW Versions 3.0.148, 3.0.165 (both have the same error message)

Log entries copied from my site::

Error sending webmention for https://brid.gy/publish/twitter to https://brid.gy/publish/webmention. Response was HTTP 400|400|source=https%3A%2F%2Fwww.aeons-library.gq%2Finspiration%2Fmedia%2F&target=https%3A%2F%2Fbrid.gy%2Fpublish%2Ftwitter|HTTP Error 400: 400 Bad Request The server could not comply with the request since it is either malformed or otherwise incorrect. Missing required parameter: target

Error sending webmention for https://fed.brid.gy to https://fed.brid.gy/webmention. Response was HTTP 400|400|source=https%3A%2F%2Fwww.aeons-library.gq%2Finspiration%2Fmedia%2F&target=https%3A%2F%2Ffed.brid.gy|HTTP Error 400: 400 Bad Request The server could not comply with the request since it is either malformed or otherwise incorrect. Missing required parameter: source

When I'm reading the source code, I'm getting very uh... confused at why the requests are malformed. It seems to contain everything that's needed to send a webmention out. But the endpoints listed are saying the request is malformed.

I'm not sure what else to do to write a patch, hence why filing this bug report.


Edit[0]: Tested sending a webmention with https://indiewebify.me/ on the same URL. Was able to receive a webmention from myself. I'll try to get a dump of what's going on with Tracy Debugger when interacting with brid.gy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions