# Gateway: metainfo error: Too Many Requests

**URL:** <https://forum.storj.io/t/gateway-metainfo-error-too-many-requests/4193>\
**Category:** DCS\
**Created:** [January 29, 2020, 7:32pm UTC](https://forum.storj.io/t/gateway-metainfo-error-too-many-requests/4193 "2020-01-29T19:32:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [January 29, 2020, 7:32pm UTC](https://forum.storj.io/t/gateway-metainfo-error-too-many-requests/4193/1 "2020-01-29T19:32:32Z")

</div>

I was deleting some files using the gateway and came across the error “metainfo error: Too Many Requests”.

What exactly does this mean?

```
2020-01-29T20:29:03.524+0100 ERROR gateway error: {"error": "metainfo error: Too Many Requests", "errorVerbose": "metainfo error: Too Many Requests\n\tstorj.io/uplink/metainfo.(*Client).Batch:1118\n\tstorj.io/uplink/storage/streams.(*streamStore).Delete:452\n\tstorj.io/uplink/storage/streams.(*shimStore).Delete:56\n\tstorj.io/uplink/storage/objects.(*objStore).Delete:86\n\tstorj.io/uplink/metainfo/kvmetainfo.(*prefixedObjStore).Delete:49\n\tstorj.io/uplink/metainfo/kvmetainfo.(*DB).DeleteObject:144\n\tstorj.io/storj/lib/uplink.(*Bucket).DeleteObject:116\n\tstorj.io/storj/pkg/miniogw.(*gatewayLayer).DeleteObject:120\n\tstorj.io/storj/pkg/miniogw.(*layerLogging).DeleteObject:113\n\tgithub.com/minio/minio/cmd.deleteObject:241\n\tgithub.com/minio/minio/cmd.objectAPIHandlers.DeleteObjectHandler:1484\n\tnet/http.HandlerFunc.ServeHTTP:2007\n\tgithub.com/gorilla/mux.(*Router).ServeHTTP:212\n\tgithub.com/minio/minio/cmd.securityHeaderHandler.ServeHTTP:657\n\tgithub.com/minio/minio/cmd.rateLimit.ServeHTTP:642\n\tgithub.com/minio/minio/cmd.pathValidityHandler.ServeHTTP:602\n\tgithub.com/minio/minio/cmd.httpStatsHandler.ServeHTTP:541\n\tgithub.com/minio/minio/cmd.requestSizeLimitHandler.ServeHTTP:66\n\tgithub.com/minio/minio/cmd.requestHeaderSizeLimitHandler.ServeHTTP:91\n\tgithub.com/minio/minio/cmd.crossDomainPolicy.ServeHTTP:51\n\tgithub.com/minio/minio/cmd.redirectHandler.ServeHTTP:243\n\tgithub.com/minio/minio/cmd.minioReservedBucketHandler.ServeHTTP:301\n\tgithub.com/minio/minio/cmd.cacheControlHandler.ServeHTTP:270\n\tgithub.com/minio/minio/cmd.timeValidityHandler.ServeHTTP:371\n\tgithub.com/rs/cors.(*Cors).Handler.func1:200\n\tnet/http.HandlerFunc.ServeHTTP:2007\n\tgithub.com/minio/minio/cmd.resourceHandler.ServeHTTP:492\n\tgithub.com/minio/minio/cmd.authHandler.ServeHTTP:300\n\tgithub.com/minio/minio/cmd.reservedMetadataHandler.ServeHTTP:134\n\tgithub.com/minio/minio/cmd/http.(*Server).Start.func1:108\n\tnet/http.HandlerFunc.ServeHTTP:2007\n\tnet/http.serverHandler.ServeHTTP:2802\n\tnet/http.(*conn).serve:1890"}
```

---

<div class="post-metadata">

**Author:** ![Mark](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/mark/32/1128_2.png) [@Mark](https://forum.storj.io/u/Mark)\
**Post date:** [January 30, 2020, 5:04pm UTC](https://forum.storj.io/t/gateway-metainfo-error-too-many-requests/4193/2 "2020-01-30T17:04:49Z")

</div>

I’m also getting a “Too Many Requests” error after I tried to upload some files with the gateway. Now my gateway won’t start. This is on the US satellite.

2020-01-30T11:56:08.612-0500 WARN Failed to contact Satellite. Perhaps your configuration is invalid?  
2020-01-30T11:56:08.612-0500 FATAL Unrecoverable error {“error”: “bucket: metainfo error: Too Many Requests”, “errorVerbose”: “bucket: metainfo error: Too Many Requests\n\[tstorj.io/storj/uplink/metainfo.(\*Client](http://tstorj.io/storj/uplink/metainfo.(*Client)).ListBuckets:311\n\[tstorj.io/storj/uplink/metainfo/kvmetainfo.(\*Project](http://tstorj.io/storj/uplink/metainfo/kvmetainfo.(*Project)).ListBuckets:136\n\[tstorj.io/storj/lib/uplink.(\*Project](http://tstorj.io/storj/lib/uplink.(*Project)).ListBuckets:138\n\tmain.checkCfg:181\n\tmain.cmdRun:156\n\[tstorj.io/storj/pkg/process.cleanup.func1.2:278\n\tstorj.io/storj/pkg/process.cleanup.func1:296\n\tgithub.com/spf13/cobra.(\*Command](http://tstorj.io/storj/pkg/process.cleanup.func1.2:278%5Cn%5Ctstorj.io/storj/pkg/process.cleanup.func1:296%5Cn%5Ctgithub.com/spf13/cobra.(*Command)).execute:826\n\[tgithub.com/spf13/cobra.(\*Command](http://tgithub.com/spf13/cobra.(*Command)).ExecuteC:914\n\[tgithub.com/spf13/cobra.(\*Command](http://tgithub.com/spf13/cobra.(*Command)).Execute:864\n\[tstorj.io/storj/pkg/process.Exec:74\n\tmain.main:365\n\truntime.main:203](http://tstorj.io/storj/pkg/process.Exec:74%5Cn%5Ctmain.main:365%5Cn%5Ctruntime.main:203)”}

---

<div class="post-metadata">

**Author:** ![Mark](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/mark/32/1128_2.png) [@Mark](https://forum.storj.io/u/Mark)\
**Post date:** [January 30, 2020, 5:09pm UTC](https://forum.storj.io/t/gateway-metainfo-error-too-many-requests/4193/3 "2020-01-30T17:09:10Z")

</div>

I read in another post that this is related to a bug that they are fixing:

> [@WARNING: Full nodes receiving data](https://forum.storj.io/t/warning-full-nodes-receiving-data/4224/4):
>
> Our devs are aware of this issue and are working to address it as we speak. Update: The dev team has identified the problem. While they are working on implementing the fix, we have temporarily halted uploads and downloads in order to prioritize network durability over availability. Thank you for your patience, our team will post an update when the issue has been fixed.

---

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [January 30, 2020, 5:59pm UTC](https://forum.storj.io/t/gateway-metainfo-error-too-many-requests/4193/4 "2020-01-30T17:59:08Z")

</div>

How are these connected?  
The full storagenode has nothing to do with the gateway not working correctly.

---

<div class="post-metadata">

**Author:** ![Mark](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/mark/32/1128_2.png) [@Mark](https://forum.storj.io/u/Mark)\
**Post date:** [January 30, 2020, 6:14pm UTC](https://forum.storj.io/t/gateway-metainfo-error-too-many-requests/4193/5 "2020-01-30T18:14:18Z")

</div>

It was my impression that the devs disables some stuff on the satellites to temporarily prevent more data from going into the nodes while they work on a real fix to prevent nodes from over filling. I could be wrong. Maybe it’s unrelated. My gateway does seem to be connecting now.  
Edit. I guess they are still working on it. Connects but failed to upload a file.  
Error: metainfo error: not enough nodes: requested 110 found 0

---

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [January 30, 2020, 6:35pm UTC](https://forum.storj.io/t/gateway-metainfo-error-too-many-requests/4193/6 "2020-01-30T18:35:35Z")

</div>

Seems like that could be true… So it is an indirect connection between those issues.  
Not all posts from heunland were posted or read by me when I answered.

However, as you can see my issue in this thread is older than the last release. It is almost a day old.  
So while current issues could be related to the current problems, my initial problem was not connected.

---

<div class="post-metadata">

**Author:** ![fmoledina](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/fmoledina/32/6739_2.png) [@fmoledina](https://forum.storj.io/u/fmoledina)\
**Post date:** [February 4, 2020, 4:06am UTC](https://forum.storj.io/t/gateway-metainfo-error-too-many-requests/4193/7 "2020-02-04T04:06:17Z")

</div>

I just got my Tardigrade invite today and am testing out restic to the s3 backend. I’m getting the exact error:

```
2020-02-03T20:59:33.168-0700 ERROR gateway error: {"error": "metainfo error: Too Many Requests; metainfo error: Too Many Requests", "errorVerbose": "group:\n--- metainfo error: Too Many Requests\n\tstorj.io/uplink/metainfo.(*Client).Batch:1139\n\tstorj.io/uplink/storage/streams.(*streamStore).Put:195\n\tstorj.io/uplink/storage/streams.(*shimStore).Put:49\n\tstorj.io/uplink/stream.NewUpload.func1:53\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57\n--- metainfo error: Too Many Requests\n\tstorj.io/uplink/metainfo.(*Client).Batch:1139\n\tstorj.io/uplink/storage/streams.(*streamStore).Put:195\n\tstorj.io/uplink/storage/streams.(*shimStore).Put:49\n\tstorj.io/uplink/stream.NewUpload.func1:53\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}

```

Gateway is v0.31.12. The backup is still proceeding despite these errors so I’ll let it continue and see how far it gets.
