Symptom
The task output prints, then the run crashes with AttributeError: 'str' object has no attribute 'get'.
Evidence what you'll see
- Using a self-hosted or third-party compatible endpoint
- The endpoint's error response puts a plain string in 'error'
Cause
The client expects error responses to hold an object. A non-compliant endpoint returned a string, which broke parsing.
Fix steps
0 of 3 done
Your check marks stay in this browser only.
Verify the fix worked
- Force an error (such as a bad key): you get a readable error, not an AttributeError.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Test in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change