- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan
Premium
Country
Germany
Hello,
I'm developing now an app/website using the Spotify API with the low code platform N8N (n8n.io). I have a problem to get Tracks from an Album and I always get the following response:
ERROR: The service is receiving too many requests from you! Perhaps take a break?
API rate limit exceeded
Details
Time
7/22/2021, 6:54:18 PM
HTTP-Code
429
Cause
Data below may contain sensitive information. Proceed with caution when sharing.
{
"name": "StatusCodeError",
"statusCode": 429,
"message": "429 - {"error":{"status":429,"message":"API rate limit exceeded"}}",
"error": {
"error": {
"status": 429,
"message": "API rate limit exceeded"
}
},
"options": {
"timeout": 300000,
"method": "GET",
"headers": {
"User-Agent": "n8n",
"Content-Type": "text/plain",
"Accept": " application/json",
"Authorization": "Bearer BQCeWA7MXzh2-YRaNQHzA4b6-YClwZ9-0G6c4BmntKr4igE8-5f4wiapcvhv4PzmGMQLkSIYN3CbWETDpA3MhooSfS-6SWv_jMKpBb1JYL3s51DfevjoQPx4EGFEGKIcHJIFM0S1Vk6jRzKgVk83-hMSzb2wv6UAqF7-pEUX8Lc31tD5hKSVi9kI8rMQDs21WEGHll-j9ONgdcTeJZM_Rb_USgjPQkJuHWH53g"
},
"qs": {
},
"uri": "https://api.spotify.com/v1/albums/0qujii0JVDkdhkkqycvzgX/tracks",
"json": true,
"simple": true,
"resolveWithFullResponse": false,
"transform2xxOnly": false
},
"response": {
"statusCode": 429,
"body": {
"error": {...} // 2 keys
},
"headers": {
"access-control-allow-origin": "*",
"access-control-allow-headers": "Accept, App-Platform, Authorization, Content-Type, Origin, Retry-After, Spotify-App-Version, X-Cloud-Trace-Context, client-token, content-access-token",
"access-control-allow-methods": "GET, POST, OPTIONS, PUT, DELETE, PATCH",
"access-control-allow-credentials": "true",
"access-control-max-age": "604800",
"retry-after": "4",
"access-control-expose-headers": "Retry-After",
"content-length": "80",
"strict-transport-security": "max-age=31536000",
"x-content-type-options": "nosniff",
"vary": "Accept-Encoding",
"date": "Thu, 22 Jul 2021 16:54:17 GMT",
"server": "envoy",
"via": "HTTP/2 edgeproxy, 1.1 google",
"alt-svc": "clear",
"connection": "close"
},
"request": {
"uri": {...}, // 12 keys
"method": "GET",
"headers": {...} // 4 keys
}
}
}
Stack
NodeApiError: The service is receiving too many requests from you! Perhaps take a break?
at Object.spotifyApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Spotify/GenericFunctions.js:25:15)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Object.spotifyApiRequestAllItems (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Spotify/GenericFunctions.js:34:24)
at async Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Spotify/Spotify.node.js:1158:32)
at async /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:424:47
I know that one of my scripts was out of control and for sure hit an API limit, but that is already fixed and was 1 month ago. Also all other requests are working fine and thats why I thought that this is maybe a bug and no longer a problem of the limit.
My client ID: b0e97f16d6ac43f8874e3ba8379977c6
I hope you can help with this so that I can continue my development as soon as possible.
Thanks in advance & Regards
ottic
Solved! Go to Solution.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page