verifyReceipt 21002 response problem

We are making an application and it is not submitted yet. We want to verify our payment according the this page (https://developer.apple.com/documentation/appstorereceipts/verifyreceipt) We make test with Postman to post data but we always get response "status": 21002. Our body request look likes that:

    "receipt-data" : "MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwGggCSABIIBQjGCAT4wDwIBAAIBAQQHDAVYY29kZTALAgEBAgEBBAMCAQAwHAIBAgIBAQQUDBJhcHAucWlyYXQuc2hlbG9zZXIwCwIBAwIBAQQDDAE2MBACAQQCAQEECFq3r/0DAAAAMBwCAQUCAQEEFLyIGyXi54C2cOgT2Xh8UZTtxHi4MAoCAQgCAQEEAhYAMB4CAQwCAQEEFhYUMjAyMS0wNy0xN1QxNDo0OTo0NlowdwIBEQIBAQRvMW0wDAICBqUCAQEEAwIBATAuAgIGpgIBAQQlDCNhcHAucWlyYXQuc2hlbG9zZXIuYnV5Ym9vay50ZXN0LjAwMTAMAgIGpwIBAQQDDAExMB8CAgaoAgEBBBYWFDIwMjEtMDctMTdUMTQ6NDk6NDZaMB4CARUCAQEEFhYUNDAwMS0wMS0wMVQwMDowMDowMFoAAAAAAACgggN4MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQsFADBfMREwDwYDVQQDDAhTdG9yZUtpdDERMA8GA1UECgwIU3RvcmVLaXQxETAPBgNVBAsMCFN0b3JlS2l0MQswCQYDVQQGEwJVUzEXMBUGCSqGSIb3DQEJARYIU3RvcmVLaXQwHhcNMjAwNDAxMTc1MjM1WhcNNDAwMzI3MTc1MjM1WjBfMREwDwYDVQQDDAhTdG9yZUtpdDERMA8GA1UECgwIU3RvcmVLaXQxETAPBgNVBAsMCFN0b3JlS2l0MQswCQYDVQQGEwJVUzEXMBUGCSqGSIb3DQEJARYIU3RvcmVLaXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDbf5A8LHMP25cmS5O7CvihIT7IYdkkyF4fdT7ak9sxGpGAub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IlR6jgKJyZu2gI6yDRgwm3H8VmRbx4UrQlizfP0/hkzPBAqgdDoCzEudu0QVnrSpntKSd3Yl+sUEsv9zm+fZUf/tQ1PQmpLHgIzfdB3x9l4zB289uToF0dsHpY8BgOVe8cRERf0xZHOjCazE0ihNTp3+45lAaUIk0Slzj2GM6uaI3oYqMcHjWTBov9JF4ISvaC/N8SC8bMGX+VIAqXDmwAAAAAAAA==",
    "password": "702a98fc92d0460bbd6aaf18c9b1ae0d",
    "exclude-old-transactions" : false
}


And response:

    "status": 21002
}

We tried both https://buy.itunes.apple.com/verifyReceipt and https://sandbox.itunes.apple.com/verifyReceipt but it didn't change.

We created also secret key for app. What is the missing for verification and what we should do for that?

Isn't there any answer?

for me I get 21002 when the receipt is malformed I removed the ==

example : "receipt-data": "MIIV.... *** .... XmhV7MUVTm4OrNM64xhNLtug1qRc6ScSTNiKo3r7gI3AUGuq4b4MW53Wc6PR6C0abpt104SiY4dFEDzgG8gWXU5VseFd0zOmbI5BgawyIrA8EuBozxwMJlzcN9hXyTIjqsJR3NbOFFEeEb/vyWXTOwQaXiC=="

returned : { "sucсess": true, "message": "", "data": { "status": 21002 } }

but removing same equal :

"receipt-data": "MIIV.... *** .... XmhV7MUVTm4OrNM64xhNLtug1qRc6ScSTNiKo3r7gI3AUGuq4b4MW53Wc6PR6C0abpt104SiY4dFEDzgG8gWXU5VseFd0zOmbI5BgawyIrA8EuBozxwMJlzcN9hXyTIjqsJR3NbOFFEeEb/vyWXTOwQaXiC"

got this result :

{ "sucсess": true, "message": "", "data": { "environment": "Production", "receipt": { "receipt_type": "Production", "adam_id": 156XXXXX90, "app_item_id": 15XXXXX0,.... "product_id": "hygea__.XXXX _ership", "original_transaction_id": "XXXXXXX", "auto_renew_status": "1" } ], "status": 0 } }

verifyReceipt 21002 response problem
 
 
Q