anthropics / anthropic-sdk-typescript

Access to Anthropic's safety-first language model APIs
https://www.npmjs.com/package/@anthropic-ai/sdk
MIT License
731 stars 79 forks source link

overloaded_error , more information why ir occurs? #616

Open axeljeremy7 opened 11 hours ago

axeljeremy7 commented 11 hours ago

status: 529, headers: { 'cache-control': 'no-store, no-cache', 'cf-cache-status': 'DYNAMIC', 'cf-ray': '8e695a03eed4f9fd-SJC', connection: 'keep-alive', 'content-length': '75', 'content-type': 'application/json', date: 'Fri, 22 Nov 2024 13:44:10 GMT', 'request-id': 'req_01RCc7MbLyQNtGKzBTv8VCep', server: 'cloudflare', via: '1.1 google', 'x-robots-tag': 'none', 'x-should-retry': 'true' }, request_id: 'req_01RCc7MbLyQNtGKzBTv8VCep', error: { type: 'error', error: { type: 'overloaded_error', message: 'Overloaded' } }

InternalServerError: 529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}} at APIError.generate (webpack-internal:///(rsc)/./node_modules/@anthropic-ai/sdk/error.mjs:75:20) at Anthropic.makeStatusError (webpack-internal:///(rsc)/./node_modules/@anthropic-ai/sdk/core.mjs:304:65) at Anthropic.makeRequest (webpack-internal:///(rsc)/./node_modules/@anthropic-ai/sdk/core.mjs:347:30) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)