I’ve been noticing this occurring intermittently for two weeks now. When I make a PATCH request to /api/v2/users/{user-id} to update a value in the app_metadata, I get a successful response along with the updated user info in the response body. This response body does reflect the changes I’m making in the patch. However, when I do a GET to the same user that was patched to get the app_metadata, the metadata returned is the old, non-updated data. Also, the data is not updated on the user’s page in the management console either. Not sure why this is happening.
A couple of things to note - I’m not immediately making the GET after the PATCH. In my application there is about 2-3 seconds of delay and in testing this manually, a few minutes. I’m not doing any caching on my end. Confirmed the access token is updated and not expired. Scopes are good. I notice this behavior occurs for about 2 hours, and then seems to resolve itself. Any help would be greatly appreciated.