Sometimes, we are getting 401 from the sourceConfi...
# support
c
Sometimes, we are getting 401 from the sourceConfig endpoint using the Node.js SDK (
rudder-sdk-js: 2.43.0
) I have already checked that we are sending the
writeKey
in the query parameters. The only way I could reproduce it was by manually calling the sourceConfig endpoint without the
Authorization
header
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
You have 2 options as far as I c - You can use the rudderanalytics.ready(). See docs - Or you can move to JS SDK v3
c
We started using rudderanalytics.ready(), but it didn't work. We still have this issue We don't want to move to SDK v3 because it is still in beta
m
Oh ok. I would suggest you move to v3 since it is much lighter and more flexible, but let me check with the team for what other options are available.
👍 1
Can you provide how often you are facing this issue. The team is unable to reproduce it.
c
Last 2 week we had 114 occurrences
it is really low for our numbers
but it still produces noise in our monitoring system
m
I will ask the team if there is something they can do to help you out.
Hi Lucas are you using any custom proxy or have you setup any custom domain ?
Also can you provide the website url where you are seeing this issue?
c
No custom settings
We work with white-label, so it can happen at any of our Customers website
And it is totally random
m
Can you provide a few website urls where you are seeing this error (and where you are not seeing the error). The team wanted to check if this is due to some missing parameters.
Also the team suggested that it would be in your best interest to checkout the JS SDK v3. Though it is in Beta it is pretty stable (It has been through multiple iterations)