Internal Server Error

The server has either erred or is incapable of performing the requested operation.

Traceback (most recent call last):
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1535, in __call__
    rv = self.handle_exception(request, response, e)
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1529, in __call__
    rv = self.router.dispatch(request, response)
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1278, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1102, in __call__
    return handler.dispatch()
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 572, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 570, in dispatch
    return method(*args, **kwargs)
  File "/base/data/home/apps/b~autogram-server-prod/22.457347729799430829/handlers/webHandler.py", line 187, in get
    memcache.add("allcompaniesweb",json.dumps(companies),3600)
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/api/memcache/__init__.py", line 941, in add
    MemcacheSetRequest.ADD, key, value, time=time, namespace=namespace)
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/api/memcache/__init__.py", line 1025, in _set_with_policy
    namespace)
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/api/memcache/__init__.py", line 1112, in _set_multi_async_with_policy
    stored_value, flags = _validate_encode_value(value, self._do_pickle)
  File "/base/alloc/tmpfs/dynamic_runtimes/python27g/25fef2553b936881/python27/python27_lib/versions/1/google/appengine/api/memcache/__init__.py", line 285, in _validate_encode_value
    'received %d bytes' % (MAX_VALUE_SIZE, len(stored_value)))
ValueError: Values may not be more than 1000000 bytes in length; received 1682873 bytes