I have error when use patchUserMetadata API

Hi @tim.dang1,

Welcome to the Auth0 Community!

I understand you have encountered issues using the Management API to update your user’s user_metadata.

Normally when the “Bad header format request” error happens, it is because the Access Token being passed in is not specified as a Bearer.

So in this case, I recommend that you set the Token value to something that looks like the following:

token: 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtp....'

Please let me know how this goes for you.

Thanks,
Rueben