Flagsmith / flagsmith

Open Source Feature Flagging and Remote Config Service. Host on-prem or use our hosted version at https://flagsmith.com/
https://flagsmith.com/
BSD 3-Clause "New" or "Revised" License
4.77k stars 365 forks source link

Unable to use `edge-identities-featurestates` endpoint with API key #4582

Closed sentry-io[bot] closed 4 weeks ago

sentry-io[bot] commented 4 weeks ago

Sentry Issue: FLAGSMITH-API-4YR

AttributeError: 'APIKeyUser' object has no attribute 'id'
(5 additional frame(s) were not displayed)
...
  File "edge_api/identities/views.py", line 382, in put
    serializer.save()
  File "edge_api/identities/serializers.py", line 192, in save
    "changed_by_user_id": request.user.id,
matthewelwell commented 4 weeks ago

Related to #4555. In fact, it might already have been resolved by the same PR that resolves it?

gagantrivedi commented 4 weeks ago

Yep, it's fixed in https://github.com/Flagsmith/flagsmith/pull/4561