APIv2 Users PATCH returns code 200, but data not added

I run the PATCH call via the Webflow Developers API Reference and get a code 200 response and the data in the User Account is updated. But when I use the same details and make the API call externally from a Google App Script that I have authorized for my workspace, I receive a code 200 after the call, but the JSON response does not show that the fields were updated. When I check the User Account, I confirm that the fields were not updated.

Any ideas on what might be going on here?

Interesting. Do you have curl statement or the script we can look at?

curl --request PATCH \
     --url https://api.webflow.com/beta/sites/SITED_ID/users/USER_ID \
     --header 'accept: application/json' \
     --header 'authorization: Bearer HIDDEN ACCESS-TOKEN WITH WRITE PERMISSIONS' \
     --header 'content-type: application/json' \
     --data '
{
  "data": {
    "linkedin-profile": "https://www.linkedin.com/in/HIDDDEN/"
  }
}


The cURL code above is what runs via the Webflow “update user” API reference
The App Script code below is the script I also ran. Both produced a Code 200 response, but only the Webflow API reference updated the field in the user account.

const optionsUpdate = {
    'method': 'PATCH',
    'contentType': 'application/json',
    headers: {
      accept: 'application/json',
      'authorization': 'Bearer ACCESS-TOKEN WITH WRITE PERMISSIONS'
    },
    body: JSON.stringify({
      data: {
       'linkedin-profile': 'https://www.linkedin.com/in/HIDDDEN/'
      }
    })
  };
fetch('https://api.webflow.com/beta/sites/SITE_ID/users/USER_ID', options)

Hey @Hopr,

Is there any other information in the response?

Does it work if you try using the v2 endpoint instead of the beta one? (i.e. [Preformatted text](https://api.webflow.com/v2/sites/{site_id}/users/{user_id}))