Auth0 Home Blog Docs

Patch for user-meta data generates bad audience error

audience

#1

The api management description (https://auth0.com/docs/metadata/management-api#retrieve-user-metadata) for Patch sounds easy, but with implementation it is generating a bad audience error. Any suggestions on what could be producing that? The same audience is working for other management api commands


#2

Nothing specific comes to mind; at a very low-level they are just HTTP requests so my suggestion, in particular when faced with the scenario of one request working and another very similar one failing, would be to capture both HTTP requests from the client application performing them. In Windows environments a popular method would be to use Fiddler to do the capturing and then you can compare the requests to see if you spot the issue (assuming it’s being caused by something done differently).

Even if you don’t spot anything relevant you can then include the captured requests in an update to your question as that would simplify troubleshooting.


#3