Invalid or expire token

I have implement oauth to make get and post request to generate the access token and I complete this as per the document(2023-02-21_10-29-54).

Now I want to get user information by making api call with the user id. the API url I used is https://appname.bubbleapps.io/api/1.1/obj/user/{uid}, but it return me error “invalid or expire token”

Here are code snippet: 2023-02-21_10-34-40

What wrong I did in this code that I got error when access user API?