# JSON Parser: Missing value of required parameter 'json'

**URL:** <https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997>\
**Category:** Questions\
**Created:** [April 19, 2023, 1:23pm UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997 "2023-04-19T13:23:49Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![jleo](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jleo](https://community.make.com/u/jleo)\
**Post date:** [April 19, 2023, 1:23pm UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997/1 "2023-04-19T13:23:49Z")

</div>

Basically, I did the same like [Tom\_Hudock describe in his question](https://community.make.com/t/ack-json-parser-missing-value-of-required-parameter-json/9706).

I created a webhook, checked that JSON pass-through is disabled (which it is by default) and tried to process the output by a subsequent module (CRM processing). Unlike explained by Runcorn in the above-mentioned post, the output JSON was not parsed automatically by the webhook module so there were no fields available in the subsequent (CRM) module to be used - only the plain JSON string. Enabling JSON pass-through and trying to parse the JSON string resulted in the same error mentioned in Tom\_Hudock’s post:

> Missing value of required parameter ‘json’

Any idea what’s going wrong?

PS: I did both to no avail, “Redetermine data structure” of webhook module and ran the scenario before I added the subsequent CRM module.

---

<div class="post-metadata">

**Author:** ![Runcorn](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/runcorn/32/9169_2.png) [@Runcorn](https://community.make.com/u/Runcorn)\
**Post date:** [April 19, 2023, 1:28pm UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997/2 "2023-04-19T13:28:16Z")

</div>

Hi @jleo,

Can you share me the Output of Webhook module?

---

<div class="post-metadata">

**Author:** ![jleo](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jleo](https://community.make.com/u/jleo)\
**Post date:** [April 19, 2023, 5:01pm UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997/3 "2023-04-19T17:01:45Z")

</div>

Hi @Runcorn ,  
sure! There you are:

> [  
> {  
> “{"event":{"checksum":"d23bc9fca55d0791e95581c331f0fe424ad87cd8650e88c829ef765386db7b11","tid":1234567890"type":"PAYMENT"},"result":{"status":"FAILURE","status\_code":100,"status\_text":"Successful"},"transaction":{"amount":0,"currency":"EUR","date":"2023-04-19 13:39:17","due\_date":"2023-05-03","mandate\_date":"2023-04-19","mandate\_ref":"NN-1234567890","order\_no":"1234","payment\_data":{"account\_holder":"Max Mustermann","bic":"DEBICXX","iban":"DEXXXXXXXXXXXXXX1956","token":"sometoken"},"payment\_type":"DIRECT\_DEBIT\_SEPA","status":"CONFIRMED","status\_code":100,"test\_mode":1,"tid":1234567890},"merchant":{"project":1234,"project\_name":"Developer Project","project\_url":"[https://my.domain.com\",\“vendor\”:4},\“customer\”:{\“billing\”:{\“city\”:\“Teststadt\”,\“country\_code\”:\“DE\”,\“house\_no\”:\“3\”,\“street\”:\“Teststraße\”,\“zip\”:\“12345\”},\“customer\_ip\”:\“192.168.0.2\”,\“customer\_no\”:\“2\”,\“email\”:\"my@email.de](https://my.domain.com%5C%22,%5C%22vendor%5C%22:4%7D,%5C%22customer%5C%22:%7B%5C%22billing%5C%22:%7B%5C%22city%5C%22:%5C%22Teststadt%5C%22,%5C%22country_code%5C%22:%5C%22DE%5C%22,%5C%22house_no%5C%22:%5C%223%5C%22,%5C%22street%5C%22:%5C%22Teststra%C3%9Fe%5C%22,%5C%22zip%5C%22:%5C%2212345%5C%22%7D,%5C%22customer_ip%5C%22:%5C%22192.168.0.2%5C%22,%5C%22customer_no%5C%22:%5C%222%5C%22,%5C%22email%5C%22:%5C%22my@email.de)","first\_name":"Max","gender":"u","last\_name":"Mustermann","tel":"1234567889"},"custom":{"input2":"reference\_tid","input3":"reference\_token","inputval2":"1234567890","inputval3":"sometoken","reference\_tid":1234567890,"reference\_token":"sometoken"}}”: “”  
> }  
> ]

Best regards,  
Jan

---

<div class="post-metadata">

**Author:** ![Runcorn](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/runcorn/32/9169_2.png) [@Runcorn](https://community.make.com/u/Runcorn)\
**Post date:** [April 19, 2023, 5:48pm UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997/4 "2023-04-19T17:48:25Z")

</div>

Hi @jleo,

Seems like the JSON is not valid and I am not sure if it is due to how you copied or is the one that you are getting.

---

<div class="post-metadata">

**Author:** ![jleo](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jleo](https://community.make.com/u/jleo)\
**Post date:** [April 19, 2023, 7:39pm UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997/5 "2023-04-19T19:39:47Z")

</div>

Hi @Runcorn ,  
thanks for your answer! The one sent by the API is valid. I have verified that by two ways:

1. I’ve checked the sent JSON string directly from the sender and
2. I had the sender sent it to another automation platform which could process it like a charm.

Best regards,  
Jan

---

<div class="post-metadata">

**Author:** ![Runcorn](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/runcorn/32/9169_2.png) [@Runcorn](https://community.make.com/u/Runcorn)\
**Post date:** [April 19, 2023, 7:52pm UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997/6 "2023-04-19T19:52:33Z")

</div>

Hi @jleo,

Can you pass me the raw JSON that you have instead of the one from Make?

Cause, Reviewing it the JSON that you are passing is not valid, I tried validating it against the validator as well.

The projectURL, the

> ,“tid”:1234567890"type":“PAYMENT”}

they are not correctly formatted.

---

<div class="post-metadata">

**Author:** ![Runcorn](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/runcorn/32/9169_2.png) [@Runcorn](https://community.make.com/u/Runcorn)\
**Post date:** [April 19, 2023, 7:58pm UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997/7 "2023-04-19T19:58:09Z")

</div>

If you enable the JSON passthrough,

 ![Screenshot from 2023-04-20 01-42-00](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/6/6dd61ec403f559b0a597f7ed4354d3181956d99f.png)

You should see the JSON as,

 ![Screenshot from 2023-04-20 01-42-10](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/8/8e5a59e0980659faa23e2d6367771c5d02e251f0.png)

---

<div class="post-metadata">

**Author:** ![jleo](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jleo](https://community.make.com/u/jleo)\
**Post date:** [April 19, 2023, 9:26pm UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997/8 "2023-04-19T21:26:50Z")

</div>

Hi @Runcorn,  
here is the raw JSON which was sent:

> {  
> “event”: {  
> “checksum”: “d23b\*\*\*\*\*7b11”,  
> “tid”: 1234567890,  
> “type”: “PAYMENT”  
> },  
> “result”: {  
> “status”: “FAILURE”,  
> “status\_code”: 100,  
> “status\_text”: “Successful”  
> },  
> “transaction”: {  
> “amount”: 0,  
> “currency”: “EUR”,  
> “date”: “2023-04-19 13:39:17”,  
> “due\_date”: “2023-05-03”,  
> “mandate\_date”: “2023-04-19”,  
> “mandate\_ref”: “NN-123456789”,  
> “order\_no”: “97”,  
> “payment\_data”: {  
> “account\_holder”: “Max Mustermann”,  
> “bic”: “ABCDEFXXX”,  
> “iban”: “DEXXXXXXXXXXXXXX1956”,  
> “token”: “R2cB**16qN"  
> },  
> “payment\_type”: “DIRECT\_DEBIT\_SEPA”,  
> “status”: “CONFIRMED”,  
> “status\_code”: 100,  
> “test\_mode”: 1,  
> “tid”: 1234567890  
> },  
> “merchant”: {  
> “project”: 1234,  
> “project\_name”: “Developer Project”,  
> “project\_url”: “[https://my.domain.com](https://my.domain.com)”,  
> “vendor”: 4  
> },  
> “customer”: {  
> “billing”: {  
> “city”: “Teststadt”,  
> “country\_code”: “DE”,  
> “house\_no”: “3”,  
> “street”: “Teststraße”,  
> “zip”: “12345”  
> },  
> “customer\_ip”: “1.2.3.4”,  
> “customer\_no”: “2”,  
> “email”: “[my@mail.de](mailto:my@mail.de)”,  
> “first\_name”: “Max”,  
> “gender”: “u”,  
> “last\_name”: “Mustermann”,  
> “tel”: “1234567889”  
> },  
> “custom”: {  
> “input2”: “reference\_tid”,  
> “input3”: “reference\_token”,  
> “inputval2”: “1234567890”,  
> “inputval3”: "02c0**TZZ1”,  
> “reference\_tid”: 1234567890,  
> “reference\_token”: “02c0\*\*\*\*TZZ1”  
> }  
> }

Here is the raw JSON received:

> [  
> {  
> “{"event":{"checksum":"d23bc9fca55d0791e95_**7b11","tid":1234567890,"type":"PAYMENT"},"result":{"status":"FAILURE","status\_code":100,"status\_text":"Successful"},"transaction":{"amount":0,"currency":"EUR","date":"2023-04-19 13:39:17","due\_date":"2023-05-03","mandate\_date":"2023-04-19","mandate\_ref":"NN-123456789","order\_no":"97","payment\_data":{"account\_holder":"Max Mustermann","bic":"ABCDEFXXX","iban":"DEXXXXXXXXXXXXXX1956","token":"R2cB16qN"},"payment\_type":"DIRECT\_DEBIT\_SEPA","status":"CONFIRMED","status\_code":100,"test\_mode":1,"tid":1234567890},"merchant":{"project":1234,"project\_name":"Developer Project","project\_url":"[https://my.domain.com\",\“vendor\”:4},\“customer\”:{\“billing\”:{\“city\”:\“Teststadt\”,\“country\_code\”:\“DE\”,\“house\_no\”:\“3\”,\“street\”:\“Teststraße\”,\“zip\”:\“12345\”},\“customer\_ip\”:\“1.2.3.4\”,\“customer\_no\”:\“2\”,\“email\”:\"my@email.de](https://my.domain.com%5C%22,%5C%22vendor%5C%22:4%7D,%5C%22customer%5C%22:%7B%5C%22billing%5C%22:%7B%5C%22city%5C%22:%5C%22Teststadt%5C%22,%5C%22country_code%5C%22:%5C%22DE%5C%22,%5C%22house_no%5C%22:%5C%223%5C%22,%5C%22street%5C%22:%5C%22Teststra%C3%9Fe%5C%22,%5C%22zip%5C%22:%5C%2212345%5C%22%7D,%5C%22customer_ip%5C%22:%5C%221.2.3.4%5C%22,%5C%22customer_no%5C%22:%5C%222%5C%22,%5C%22email%5C%22:%5C%22my@email.de)","first\_name":"Max","gender":"u","last\_name":"Mustermann","tel":"1234567889"},"custom":{"input2":"reference\_tid","input3":"reference\_token","inputval2":"1438","inputval3":"02c0TZZ1","reference\_tid":1234567890,"reference\_token":"02c0**_\*TZZ1"}}”: “”  
> }  
> ]

Which looks like this in the scenario:  
 ![grafik](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/7/7a8b5ced32ebd5f2f9fdc0905c7595411215305c.png)

I’ve ran both JSON string against a validator successfully. So I guess the issue you detected was cause by myself when I was obfuscating the JSON message.

Best regards,  
Marcus

---

<div class="post-metadata">

**Author:** ![Runcorn](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/runcorn/32/9169_2.png) [@Runcorn](https://community.make.com/u/Runcorn)\
**Post date:** [April 19, 2023, 9:38pm UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997/9 "2023-04-19T21:38:39Z")

</div>

How are you triggering the WEbhook?

I think the issue with this is how the webhooks were triggered from your end.

Seems like the content type is different which is the reason that you are getting the Webooks body but make couldn’t map it properly.

Can you ask your sender to change the Content-Type to application/json or text/plain, application/json is preferred though.

---

<div class="post-metadata">

**Author:** ![jleo](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jleo](https://community.make.com/u/jleo)\
**Post date:** [April 20, 2023, 8:03am UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997/10 "2023-04-20T08:03:16Z")

</div>

Hi @Runcorn,  
that is indeed the root cause. The content type is `application/x-www-form-urlencoded`.

 ![grafik](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/4/4cf855d7351f4ac796ef3cd21766860220902744.png)

I will ask the sender to fix it. Still, would there be an option to force Make assuming a specific content type (e.g. application/json)?

Best regards,  
Marcus

---

<div class="post-metadata">

**Author:** ![Runcorn](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/runcorn/32/9169_2.png) [@Runcorn](https://community.make.com/u/Runcorn)\
**Post date:** [April 20, 2023, 2:56pm UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997/11 "2023-04-20T14:56:11Z")

</div>

Hi @jleo,

I tried to do that with webhooks, but apparently no there is no way to do it through Webhooks as only either a plain text or application/json is supported for the JSON body like you have.

Other formats are supported as well, but the request body needs to be formatted that way, for eg. `application/x-www-form-urlencoded` can be parsed easily if it sends the request body in accordance to the Content-Type.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [December 7, 2023, 4:18pm UTC](https://community.make.com/t/json-parser-missing-value-of-required-parameter-json/9997/12 "2023-12-07T16:18:18Z")

</div>


