{"record":{"id":"4f97f2ee43bb2e27","repo":"BerriAI/litellm","slug":"failed-to-get-async-invoke-status-response-statu","errorCode":null,"errorMessage":"Failed to get async invoke status: {response.status_code} - {response.text}","messagePattern":"Failed to get async invoke status: (.+?) - (.+?)","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"litellm/llms/bedrock/embed/embedding.py","lineNumber":652,"sourceCode":"        response: Final = await client.get(\n            url=prepped.url,\n            headers=prepped.headers,\n        )\n\n        # LOGGING\n        if logging_obj is not None:\n            logging_obj.post_call(\n                input=invocation_arn,\n                api_key=\"\",\n                original_response=response,\n                additional_args={\"complete_input_dict\": {\"invocation_arn\": invocation_arn}},\n            )\n\n        # Parse response\n        if response.status_code == 200:\n            return response.json()\n        else:\n            raise Exception(f\"Failed to get async invoke status: {response.status_code} - {response.text}\")\n","sourceCodeStart":634,"sourceCodeEnd":653,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/llms/bedrock/embed/embedding.py#L634-L653","documentation":"HTTP failure while polling a Bedrock async embedding invocation: the GET for the invocation ARN status returned a non-200 status code, and the handler surfaces the status and response body of the failed status check.","triggerScenarios":"Thrown at litellm/llms/bedrock/embed/embedding.py:652 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the response body for the Bedrock-side error (permissions, job id, throttling).","Verify IAM permissions allow reading async invoke status.","Retry; the job status endpoint can be transiently unavailable."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}