# Verify Error in  Wowza Streaming Engine Module with Google Cloud

**URL:** <https://community.wowza.com/t/verify-error-in-wowza-streaming-engine-module-with-google-cloud/49623>\
**Category:** Wowza Streaming Engine\
**Created:** [September 5, 2017, 12:19pm UTC](https://community.wowza.com/t/verify-error-in-wowza-streaming-engine-module-with-google-cloud/49623 "2017-09-05T12:19:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hiroyuki\_Katsura](https://avatars.discourse-cdn.com/v4/letter/h/2bfe46/32.png) [@Hiroyuki\_Katsura](https://community.wowza.com/u/Hiroyuki_Katsura)\
**Post date:** [September 5, 2017, 12:19pm UTC](https://community.wowza.com/t/verify-error-in-wowza-streaming-engine-module-with-google-cloud/49623/1 "2017-09-05T12:19:55Z")

</div>

I developed an external Wowza Module by using the Wowza SDK in order to update Google Cloud Datastore when the live stream goes on.

I used [google-cloud-datastore-1.4.0](https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-datastore) and WowzaStreamingEngine-4.7.1.

This error seems to occur when my module tries to put an Entity on Datastore.

```auto
Entity task = Entity.newBuilder(key)
        .set("id", id)
        .set("val", a_val)
        .build();
datastore.put(task); // <- The point where Verify Error occures

```

And Error Message is

```auto
java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    com/google/api/AnnotationsProto.registerAllExtensions(Lcom/google/protobuf/ExtensionRegistryLite;)V @4: invokevirtual
  Reason:
    Type 'com/google/protobuf/GeneratedMessage$GeneratedExtension' (current frame, stack[1]) is not assignable to 'com/google/protobuf/ExtensionLite'
  Current Frame:
    bci: @4
    flags: { }
    locals: { 'com/google/protobuf/ExtensionRegistryLite' }
    stack: { 'com/google/protobuf/ExtensionRegistryLite', 'com/google/protobuf/GeneratedMessage$GeneratedExtension' }
  Bytecode:
    0x0000000: 2ab2 0003 b600 04b1

```

Could you tell me the way to solve this error.

thanks.
