Discussions

Ask a Question
Back to All

Issue on sandbox Authentication - Digest doesn't match

I am trying to test the Authentication call after I have followed all the steps for creating all the needed headers. However I keep getting public role with "Digest doesn't match" error code.

I have checked but the digest and signatures match exactly with the online tools provided by you.

Can you tell me what's happening?

POST https://staging.authservices.satispay.com/wally-services/protocol/tests/signature HTTP/1.1
Accept: application/json
Content-Type: application/json;charset=UTF-8
Date: Wed, 17 Mar 2021 13:10:34 GMT
digest: SHA-256=1BOV4kDTkMDqa3G3sv9dDHh7PjEfeHPaa53eKwy1KXQ=
authorization: Signature keyId ="pvut2sv0v86l5v1ive7od7amirl3ue1bam606urkbf36p91v3i4elmv80povblra2u7237hg6jqkh4cvup361nd8llo5taa47pjf6bojs3qh59d00t9ethn4r27i31ce2vou316kjf63gdnjk2cg1r0rahap307qlpchorv5869upc665iphg6dv4tqfu3jdr4jpcn96", algorithm="rsa-sha256", headers="(request-target) host date digest", signature="YYOFcO5tnRnsywa0B0Q3Rpda6KESNspIYEgJycWVWQSB6Hc+nsUo9uSGkk2RqdahTSCRdIz+3hKdv212wn2oPnYNuDShY6VsTzQljf5cRhUcW2KmLUjC1g48R/aBg/GDVmvFoq0Pp0c/8WANAV/WArBKLDvMhT6rEb6iog8k8BTd/bVZbrtw8limWpwGmWPkdnmlmc+OLBVIEO5vuSPXYcpoOwxNhqnr//gkEuqEjfhQ9J3oI01e2BXrsZYFQhqYdBjdh+GsaQ4QhSR/7xNkWDM38H/6gYfKenCyAh06HHjiJqAXXDSND9N/eVsyeGCe5/n7RngWfIxjagh8w5wV9t7+h6d1ZatIK6RxqPvtK0M3iyAj/GCwSh4m0zbskgx4BWcPWG6aSIbrN5afud2uY/EECkFu6/Pm5/P20y/7JV7I07o7RH0RTlVFZAIearyha/dm53yMgb5QXaHYAxZvZ+D1MQfYCgSGXG2q6gGwjwc0eXWlK36yGpV+/UbJMl73++CTNVNMvk3pvGXGtZP2tB0zZKUm97h6UIbowTVLVP8xaRa0ZrnVgX/qxpORACi1rMrZCRohl6yUyIFjEG4jYUT/vRcKyxEEq+fg/7St24gX0ZyEiXkn0Q71iFqqxGxKzc10Uz8WlLGi5Vm8RqmzJPwRRcgePcZnLgE1/D/nCUI="
Host: staging.authservices.satispay.com
Content-Length: 56
Expect: 100-continue
Connection: Keep-Alive

{"flow":"MATCH_CODE","amount_unit":100,"currency":"EUR"}


HTTP/1.1 403 Forbidden
Date: Wed, 17 Mar 2021 13:10:43 GMT
Server: Apache
Digest: SHA-256=/HB4eRYlWwLIwIAa0yS/zH9zQGDDBtU1aYhqandi4aA=
x-satispay-nch-xuEA: xPnpinOrLA
x-satispay-cid: tZEaSBkF
Content-Type: application/json
Content-Length: 61
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive

{"code":52,"message":"Digest doesn't match","wlt":"tZEaSBkF"}