Bad HTTP authentication header format, statusCode: 400

The following code supposes to update the user that has just been created and make him verified without sending the user’s verification emails I used the flow of the actions for this, after a lot of thought I got into this code and tried to implement it but every time I got the following error:

I checked the generated API key for the Management API with the manual test and it worked,
I’ve tried to figure out what it could be but have no luck by now so I would like help thanks a lot

Hi @techtools,

Have you inspected the token? Make sure your token has the correct scopes. You can decode it and see what it contains using

Let me know!