I'm seeing the same issue in Xcode 26.4 release.
Failed to authenticate. API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth token has expired. Please obtain a new token or refresh your existing token."},"request_id":"req_011CZaDXn4KLC1KJ3SsLdBwC"}
This is happening for Claude Agent within Xcode and the only way I can fix it is to log out of Claude and then log back in. Very frustrating.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: