# Filebeat decode\_json\_fields processor keeps giving convert error for GCP module

**URL:** <https://discuss.elastic.co/t/filebeat-decode-json-fields-processor-keeps-giving-convert-error-for-gcp-module/277024>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 25, 2021, 7:55am UTC](https://discuss.elastic.co/t/filebeat-decode-json-fields-processor-keeps-giving-convert-error-for-gcp-module/277024 "2021-06-25T07:55:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevensim226](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stevensim226/32/89071_2.png) [@stevensim226](https://discuss.elastic.co/u/stevensim226)\
**Post date:** [June 25, 2021, 7:55am UTC](https://discuss.elastic.co/t/filebeat-decode-json-fields-processor-keeps-giving-convert-error-for-gcp-module/277024/1 "2021-06-25T07:55:06Z")

</div>

I keep getting an error that says `GoError: failed in processor.convert: conversion of field [json.protoPayload] to type [[unset]] with target field [json] failed: field [json.protoPayload] is missing: key not found` when using the `decode_json_fields` processor as follows:

```auto
processors:
  - decode_json_fields:
      fields: ["message"]

```

The log format already has a `message` key with a JSON string as it's value when I see it on Kibana without the processor, but when I add the processor it keeps giving me the GoError on convert when I don't use anything related to convert?

Help appreciated.  
FYI: I'm using Filebeat 7.13

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 23, 2021, 9:56am UTC](https://discuss.elastic.co/t/filebeat-decode-json-fields-processor-keeps-giving-convert-error-for-gcp-module/277024/2 "2021-07-23T09:56:06Z")

</div>

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