# A error response about /finalize API

**URL:** <https://community.letsencrypt.org/t/a-error-response-about-finalize-api/141008>\
**Category:** Client dev\
**Created:** [December 21, 2020, 6:50am UTC](https://community.letsencrypt.org/t/a-error-response-about-finalize-api/141008 "2020-12-21T06:50:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![test\_mail\_new](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@test\_mail\_new](https://community.letsencrypt.org/u/test_mail_new)\
**Post date:** [December 21, 2020, 6:50am UTC](https://community.letsencrypt.org/t/a-error-response-about-finalize-api/141008/1 "2020-12-21T06:50:34Z")

</div>

When I send csr file by /finalize API, I got this response:

```json
{u'detail': u'Error unmarshaling finalize order request',
 u'status': 400,
 u'type': u'urn:ietf:params:acme:error:malformed'}

```

But I can Create order and Trigger the challenge by my way to send request.

Only above does not work.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [December 21, 2020, 6:52am UTC](https://community.letsencrypt.org/t/a-error-response-about-finalize-api/141008/2 "2020-12-21T06:52:49Z")

</div>

Please don't start such short uncomprehensive threads. Perhaps some of the users here on this Community can piece all the small parts together, but with just these few lines, it's too little.

Also, the "Help" section is probably not the best Section to post your questions. It's probably a better idea to start a **SINGLE** thread in the "Client dev" section for your ACME client dev attempt(s).

---

<div class="post-metadata">

**Author:** ![test\_mail\_new](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@test\_mail\_new](https://community.letsencrypt.org/u/test_mail_new)\
**Post date:** [December 21, 2020, 6:54am UTC](https://community.letsencrypt.org/t/a-error-response-about-finalize-api/141008/3 "2020-12-21T06:54:31Z")

</div>

Ok, I have fixed the title.

Thanks.

---

<div class="post-metadata">

**Author:** ![test\_mail\_new](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@test\_mail\_new](https://community.letsencrypt.org/u/test_mail_new)\
**Post date:** [December 21, 2020, 7:30am UTC](https://community.letsencrypt.org/t/a-error-response-about-finalize-api/141008/4 "2020-12-21T07:30:13Z")

</div>

Anybody here can help me on this problem?

---

<div class="post-metadata">

**Author:** ![test\_mail\_new](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@test\_mail\_new](https://community.letsencrypt.org/u/test_mail_new)\
**Post date:** [December 21, 2020, 7:31am UTC](https://community.letsencrypt.org/t/a-error-response-about-finalize-api/141008/5 "2020-12-21T07:31:27Z")

</div>

request is

```json

protected: {"alg": "ES256", "kid": "https://acme-staging-v02.api.letsencrypt.org/acme/acct/xxxxx", "nonce": "0004z9Mq4_mBTzS0qvv-WFvEH5QrUcMnrS1GUVheVzJfWg8", "url": "https://acme-staging-v02.api.letsencrypt.org/acme/finalize/...../......"}
payload: {"csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICvzCCAacCAQAwejEL.................gqTaFauqNaYTUJg\nugbgMmvNNvCeKCOTB50szgd1JYtk47W6knf9awRyMh1pKLg=\n-----END CERTIFICATE REQUEST-----"}

```

---

<div class="post-metadata">

**Author:** ![test\_mail\_new](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@test\_mail\_new](https://community.letsencrypt.org/u/test_mail_new)\
**Post date:** [December 21, 2020, 7:35am UTC](https://community.letsencrypt.org/t/a-error-response-about-finalize-api/141008/6 "2020-12-21T07:35:06Z")

</div>

![屏幕快照 2020-12-21 15.34.46](https://global.discourse-cdn.com/letsencrypt/original/3X/3/8/38eb0a9aa81988ff7ba02fe9aec6da61a08e5e27.png)

Here is answer.

My csr format is not correct.

---

<div class="post-metadata">

**Author:** ![test\_mail\_new](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@test\_mail\_new](https://community.letsencrypt.org/u/test_mail_new)\
**Post date:** [December 21, 2020, 7:50am UTC](https://community.letsencrypt.org/t/a-error-response-about-finalize-api/141008/7 "2020-12-21T07:50:14Z")

</div>

oh, no.

Get the same error response.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [January 20, 2021, 7:50am UTC](https://community.letsencrypt.org/t/a-error-response-about-finalize-api/141008/8 "2021-01-20T07:50:22Z")

</div>

Closed on January 20, 2021, 7:50am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
