Finances API Signature not working
Hello together!
I'm trying to access my transactions via the RESTFul API using PHP:
Unfortunately, I get a meaningless signature error:
object(stdClass)#6961 (1) {
["errors"]=>
array(1) {
[0]=>
object(stdClass)#6985 (5) {
["errorId"]=>
int(215120)
["domain"]=>
string(6) "ACCESS"
["category"]=>
string(7) "REQUEST"
["message"]=>
string(27) "Signature validation failed"
["longMessage"]=>
string(51) "Signature validation failed to fulfill the request."
}
}
}My request header looks like:
array(7) {
[0]=>
string(2546) "Authorization: Bearer v^1.1#..."
[1]=>
string(24) "Accept: application/json"
[2]=>
string(30) "Content-Type: application/json"
[3]=>
string(32) "x-ebay-c-marketplace-id: EBAY_DE"
[4]=>
string(914) "x-ebay-signature-key: eyJ..."
[5]=>
string(122) "Signature-Input: sig1=("x-ebay-signature-key" "x-ebay-c-marketplace-id" "@method" "@path" "@authority");created=1690819836"
[6]=>
string(362) "Signature: sig1=:Uw..."
}
Can you already see an error? If not, then it's the actual signature string.
Thanks in advance for your help!
Tobias
cnc-zubehoer
Posted 3 years ago·Last reply 3 years ago
1 comment
merrifield64
·3 years agoWell, mine one is also not working.