wordpress-rest-api-oauth-1 icon indicating copy to clipboard operation
wordpress-rest-api-oauth-1 copied to clipboard

Getting error `json_oauth1_signature_mismatch` when calling methods with data

Open kristofdidrickson opened this issue 8 years ago • 0 comments

Hi, I'm just try to post some data using an authenticated request. Nothing crazy or special. Any calls that don't involve data work fine, but when I try to pass a data object to the same Wordpress OAuth instance, I get this error:

{ code: 'json_oauth1_signature_mismatch',
  message: 'OAuth signature does not match',
  data: { status: 401 } }

Which would suggest there's a bug in generating the signature when there's data involved.

kristofdidrickson avatar Jul 20 '17 19:07 kristofdidrickson