Hello, I created an account <https://app.ruddersta...
# support
f
Hello, I created an account https://app.rudderstack.com/ and Source and Destinations and started to use rudderstack in test mode, but after a while the error gateway gateway/gateway.go:1194 IP: -- /v1/track -- Response: 401, Invalid Write Key. The Write Key is valid for a while, I just can’t figure it out?
@shy-kite-21035 does it always have to be this way?
And why does this happen?
I deleted and created, the problem remains
h
@full-waiter-76117 can you share your writeKey via DM?
f
@helpful-island-54641, yes off course,
2IoNhGCE9rFAvESyBHXqthL3Dd6
h
What’s the data plane you are hitting? It looks like you have registered for an open source account but are trying to send data to free data plane?
f
Thank you, you were right.
@helpful-island-54641 With such a data plane: open source, what restrictions can there be?
h
with open source data plane you would not have any access to ETL/rETL sources majorly
f
@helpful-island-54641 But using a data plane like this, after a couple of days the validity of the write key is lost.
h
you can set up your own data plane and send requests to that data plane and it’s validity won’t be lost
f
@helpful-island-54641 Yes I did, but at first it worked, after a while I started getting an error
h
Can you verify if the workspace token is the right one?
f
@helpful-island-54641 Yes, I’ve checked more than once, I’ve also tried recreating source
h
Can you possibly share with me a curl request you have been using to send the data?
Just double-checking that
2IUxumZcm11d9EzrwAfg6cgKSnZ
is the workspace token?
f
Does the url have to be public?
2IoNhGCE9rFAvESyBHXqthL3Dd6
h
It need not be but I see the write key you have provided https://rudderstack.slack.com/archives/C01E4PLB135/p1670884118950109?thread_ts=1670837908.815019&cid=C01E4PLB135 is not associated with your name
f
I can make it public
h
@full-waiter-76117 you have provided me with the write key… Can you check the rudderworkspaceToken?
f
2IV02a90PcB5REMjMIvLMmEsOb4
h
Can you use the workspace token I provided here?
2IUxumZcm11d9EzrwAfg6cgKSnZ
f
No, we didn’t.
h
Can you use it.. I see the write key you provided is associated with a different workspace token
l
When we use this write key, we get an error like
Copy code
message: "Invalid write key"
when we try to load a script
Copy code
https://api.rudderlabs.com/sourceConfig/?p=cdn&v=2.20.0&writeKey=2IUxumZcm11d9EzrwAfg6cgKSnZ
f
@helpful-island-54641 cc
h
I see that you are using the workspace token as the write key
Can you tell me how did you configure your data plane
f
@helpful-island-54641 This is how it’s set up.
h
I mean the open source data plane which is running in your infra…. What I am seeing is your control plane
f
@helpful-island-54641
h
Can you show me the env for rudderstack-0 pod
You can just describe the pod
f
@helpful-island-54641
h
What’s the value set for config backend token?
Please validate if the value of config backend token is the same as the one you have setup your source destination connection on
f
@helpful-island-54641 it was not set when rudderstack was installed
2IoNhGCE9rFAvESyBHXqthL3Dd6
h
https://www.rudderstack.com/docs/resources/faq/ You can obtain the workspace token from here
Okay… can you check if there is any variable with rudderWorkspaceToken?
f
@helpful-island-54641 Yes, I’ll check now.
@helpful-island-54641 I looked it up, they match.
h
Did you check the same from the UI? I have provided the link above
f
@helpful-island-54641 Yes, they match.
h
Can you please send screenshot of the same?
f
@helpful-island-54641
@helpful-island-54641 Is there any other data you need?
h
@full-waiter-76117 Can we schedule a call sometime tomorrow for me to investigate further?
f
Yes, of course, we can try to solve this issue tomorrow.
h
Can you let me know some free meeting slots available tomorrow?
f
@helpful-island-54641 Is it necessary to add values.yaml workspaceConfig.json when installing rudderstack with this Data plane?
h
It is not required to have the json file present provided you have used the workspace token