fabito/botkit-storage-datastore

Error: The value of property "content" is longer than 1500 bytes.

madtaras opened this issue · 2 comments

Getting the error { Error: 3 INVALID_ARGUMENT: The value of property "content" is longer than 1500 bytes.
Most probably it's caused by my code.
But to confirm, is there a chance it's caused by botkit-storage-datastore?

Probably not.
Most likely your entity has a property content which is longer than 1500 bytes and is not excluded from the index.
You should try try to exclude it with:

      {
        name: 'content',
        value: Something longer than 1500 bytes,
        excludeFromIndexes: true,
      }

Thanks