melodic-finland-12739
03/22/2022, 10:44 AMstocky-engine-48021
03/22/2022, 12:51 PMambitious-jelly-14822
03/22/2022, 4:31 PMgray-river-82670
03/22/2022, 6:03 PMstocky-london-26622
03/22/2022, 8:23 PMpurple-waitress-82738
03/22/2022, 10:48 PMLOOKALIKE_VALUE
and is_value_based=1
in the payload.
"response":"{\"error\":{\"message\":\"(#100) Value-Based Custom Audience requires LOOKALIKE_VALUE attribute.\"
Setup on destination 26l4y33Lt1BTBUfc6kyN5PlGnvs
if looking at the response would helpworried-tailor-13264
03/23/2022, 9:58 AMgentle-gold-96709
03/23/2022, 10:24 AMINVALID_REQUEST - The request could not be understood by the server due to malformed syntax.
melodic-finland-12739
03/23/2022, 1:40 PMhigh-fall-35889
03/23/2022, 2:17 PMRudderStack
with CleverTap
destination
My problem was that accountId
and accountToken
isn't defined so I'm getting
Error: Invalid CleverTap Account Credentials, Aborting
After some debugging I found out that the serverConfig
contains destinations[] -> config
like in the image
And in the code we are checking for destinations[] -> destinationConfig
like in the link
https://github.com/rudderlabs/rudder-sdk-android/blob/fb0b3a2220e2571deee168cae38f[…]main/java/com/rudderstack/android/sdk/core/EventRepository.java
I can be wrong, can someone help me with this please?shy-policeman-99334
03/23/2022, 5:47 PMgentle-crowd-42570
03/23/2022, 10:53 PMstocky-engine-48021
03/24/2022, 4:55 AMbig-policeman-43379
03/24/2022, 7:48 AMbig-policeman-43379
03/24/2022, 9:17 AMbig-policeman-43379
03/24/2022, 9:17 AMeager-church-24943
03/24/2022, 1:11 PMViewContent
facebook pixel standard event. I also tried mapping to PageView
event and CompleteRegistration
and it works fine. When trying to map to ViewContent
i get the error:
{
"error": "Product id is required. Event not sent"
}
This is the example of properties in the message:
"properties": {
"content_name": "Century Parking Corp.",
"content_type": "product",
"product_id": 18,
"products": [
{
"id": 18
}
],
"view": "MAP"
},
I also use Product List Viewed
and Product Viewed
which are mapped to ViewContent
with the same properties and it also works fine. Has anyone else encountered this problem?melodic-finland-12739
03/24/2022, 2:10 PMbumpy-rose-36921
03/24/2022, 3:31 PMshy-policeman-99334
03/24/2022, 6:22 PMsteep-gold-12616
03/24/2022, 7:29 PMquaint-london-87209
03/25/2022, 7:41 AM{
"message": {
"message": "Bad Request",
"status": 500,
"code": "invalid_grant"
}
}
witty-park-27002
03/25/2022, 9:08 AMstale-orange-93415
03/25/2022, 12:26 PMaverage-kilobyte-5114
03/25/2022, 1:27 PMimport Analytics from '@rudderstack/rudder-sdk-node';
import { promisify } from 'util';
const someFn = async () => {
const client = new Analytics(writeKey, `${endpoint}/v1/batch`);
const track = promisify(client.track.bind(client));
await track({ ... }) // <-- this takes 2 minutes
}
someFn().then(() => console.log('done'));
It doesn’t matter if I use promisify or callbacks, tried setting flushAt to 1. Also not waiting on the callback but on the flush takes like 2 minutes, so something like this:
import Analytics from '@rudderstack/rudder-sdk-node';
const client = new Analytics(writeKey, `${endpoint}/v1/batch`);
const track = client.track;
track({ ... })
client.flush(() => console.log('done')) // <-- this also takes 2 minutes to log done
Our destination is a kubernetes cluster managed by AWS and has zero to no load, als in the live events in the rudderstack dashboards the events are already in after maybe 20 sec or so (probably much sooner due to delay) but the callback takes at least 100 more seconds after that. As the live event already recorded the track so much earlier it’s not our destination that’s slow, it’s the callback / flush not working correctly.
What can this be?straight-lawyer-40627
03/25/2022, 2:06 PMstraight-lawyer-40627
03/25/2022, 2:15 PMstraight-lawyer-40627
03/25/2022, 2:16 PMstraight-lawyer-40627
03/25/2022, 2:21 PMstrong-painter-28067
03/25/2022, 7:18 PM