Hello @Dave_Hamel_2024
Ideally you would want to have a different data Stream id for each environment. You 'could' set the data collection propertry in DEV, TEST, PROD to write to the same dataStream, but this could lead to downstream confusion.
I can see you are attempting to perform an HTTP API update to a profile record. xdmEntityUpdate is indication you are attempting to perform an upSert. xdmEntity will use activity to write data upon a dataSet.
Are you attempting to write data upon a profile or experience dataSet?
Hello @MerinKumar
You can use the following as refresh to obtain the GCP refresh token
https://developers.google.com/identity/protocols/oauth2/native-app?hl=en#offline