2

How can I set the value of the ID parameter?

Hi, I need help. I'm new to Stellar and I'm creating an anchor. When I execute a payment using the bridge and compliance server, I get the following message:

Error response from compliance server "code": "missing_parameter",    "message": "Required parameter is missing.",    "data": {      "name": "id"    }

the documentation says that the ID of the payment / transaction. I had thought that was the squence of the transaction, is this correct?

The version of the compliance server is compliance-v0.0.31-windows-amd64.

Thank you

2

Check the Compliance README:

id required ID of the payment/transaction. In case of pending response or errors, you should resubmit the request with the same id value.

This should be an unique ID identifying your payment.

  • Ok there is something missing. I followed the instructions at stellar.org/developers/guides/anchor/4-compliance-server.html in the Try It Out section (specifically the example the request.post) As you can see the ID parameter does not exist, but in compliance readme it says that the ID is mandatory. Therefore one contradicts the other. Then the question is who says the right thing? – F. Vidoni Aug 17 '18 at 21:54
0

Ok there is something missing. I followed the instructions at stellar.org/developers/guides/anchor/4-compliance-server.html in the Try It Out section (specifically the example the request.post) As you can see the ID parameter does not exist, but in compliance readme it says that the ID is mandatory. Therefore one contradicts the other. Then the question is who says the right thing?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.