Hi support team, I'm trying to stream data from r...
# support
h
Hi support team, I'm trying to stream data from rudderstack JS to clevertap, but found this 400 error. Can anybody to me resolve this issue?
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.
q
I don’t see Clevertap destination in your account. Which call you are making? seems incorrect endpoint.
h
may i know which account do you check on? i'm configured it on my organization account. may i personal chat you the destination ID? @quiet-wolf-72320
q
Please share the email associated with the workspace, I can pull other details from there , You can send DM
Which Event you are sending like identify, track etc..? And what is the api endpoint that you are using?
Looked into the error and the payload that you are sending, it is missing
userId
value. How are you making the identify call before the track call and how are you instrumenting userId/anonymousId ? Take a look at this doc to understand how these calls are made. https://www.rudderstack.com/docs/destinations/streaming-destinations/clevertap/#using-clevertap-objectid-and-identity-for-mapping-cloud-mode-only
h
hi @quiet-wolf-72320, i want to ask why i'm set a library like this the callback function does not called after success identify? the callback is arrow function, and does the rudderstack js sdk async? i'm facing some trouble like after user login i call identify and track but the track function still missing the user id
q
callback function is called after the successful execution of identify method. Here is a detailed doc on identify method https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/supported-api/#identify
h
i'm already successful identify, but the callback function doesn't success to call, but if i'm forcing to use inline callback using arrow function it was called, if i'm using function from params it doesn't work
q
Can you send me the block of code 1. one that is working 2. one that is not working
h
sure @quiet-wolf-72320, i send it on personal chat or on the thread?
q
either way works