Cannot accept agreement -> Signature does not match
See original GitHub issueI was trying to accept the agreement of the bitnami/cassandra plan.
The result is: Signature does not match. Please request terms again and request acceptance.
The code is very simple:
const image = await this.azure.virtualMachineImages
.get('northeurope', 'Bitnami', 'Cassandra', 'Cassandra', '3.11.1709280755');
const agreements = await this.azure.marketplaceAgreements
.get(image.plan.publisher, image.plan.name, image.plan.product);
if (agreements && !agreements.accepted) {
agreements.accepted = true;
await this.azure.marketplaceAgreements
.create(image.plan.publisher, image.plan.name, image.plan.product, agreements);
}
The await this.azure.marketplaceAgreements.get(image.plan.publisher, mage.plan.name, image.plan.product)
returns
{
id: '/subscriptions/a6dab79e-9b3d-4780-84cb-43a3d4a83d23/providers/Microsoft.MarketplaceOrdering/offertypes/bitnam
i/offers/cassandra/plans/cassandra',
name: 'cassandra',
type: 'Microsoft.MarketplaceOrdering/offertypes',
publisher: 'bitnami',
product: 'cassandra',
plan: 'cassandra',
licenseTextLink: 'https://storelegalterms.blob.core.windows.net/legalterms/3E5ED_legalterms_BITNAMI%253a24CASSAND$
A%253a24CASSANDRA%253a24IGRT7HHPIFOBV3IQYJHEN2O2FGUVXXZ3WUYIMEIVF3KCUNJ7GTVXNNM23I567GBMNDWRFOY4WXJPN5PUYXNKB2QLAKCH
P4IE5GO3B2I.txt',
privacyPolicyLink: 'https://bitnami.com/privacy',
retrieveDatetime: 2018-02-16T14:54:37.196Z,
signature: 'JC5OJJARW7OD6GKOR5HVIE2BTSL5RXW2J7WCNLMDSWNZ3R3R3FN33EGHF5Q5IJHDENLJN4BVBUM733VVOLT3KN5LVH5LHL6T2DSEAX
Q',
accepted: false
}
I’ve noticed that retrieveDatetime
is populated but the documentation says: Date and time in UTC of when the * terms were accepted. This is empty if Accepted is false.
Could be the problem?
I’ve also tried to send only the parameters explicitly written in the documentation but the result is the same.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
eSignature troubleshooting tricks - One Legal
Ever have trouble getting your documents signed, sealed, and delivered? Check out these eSignature troubleshooting issues we've solved for ...
Read more >Provide information about sign agreement. - Microsoft Learn
If an agreement sent for your signature has the wrong signature method, decline it via Adobe Sign and contact your Microsoft partner (Software ......
Read more >What Are the Rules Regarding Signatures in Contracts?
The signature is the most common way to indicate that you have read and agreed to a contract.
Read more >Is a "Click Here to Agree" User Agreement Checkbox Legally ...
The signer intentionally clicks to agree to each signature area. You are not “done” until you have signed all areas (i.e., you can...
Read more >Avoid Common Notary Certificate Mistakes | NNA
Don't leave out or add an initial to your signature if it doesn't match your commission name on file. Florida, for example, prohibits ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can not sign the CLA to open a PR because the federated login with GitHub doesn’t work. Here’s the fix https://github.com/Azure/azure-sdk-for-node/compare/master...ClouDesire:GH-2423
Seems that the deserialization of the agreements object truncates the
retrieveDatetime
, and of course, the signature changes.@manuelmazzuola -
azure-arm-marketplaceordering@1.1.0-preview
has been published. NOTE: This will not be a part of the rollup azure package (require("azure")
) for now. We publish the rollup package less frequently. You can install"azure-arm-marketplaceordering"
directly and get the latest bits. Thank you for filing the issue and helping us improve the experience for you and other customers.