Hi,
Intro
For my application, i'm required to use the rest api instead of the SDK (but the issue is the same with the sdk one). I've tested this with basic & standard access.
I'm trying to sync user data into a customerMatch UserList.
Issue
When including more that 10 'Create' within the operation array of the payload, i'm receiving the following error msg : TOO_MANY. (You can check the full response below).
Even sometime it will already provide this error message when i'm including only 10 'create' within the payload.
The documentation informs that it should be possible to include a lot more records within one request? But for some reason, it can't. I'm already sending with a Concurrency of 25 requests (including 10 records each), but this is already the limit of the amount of requests we can do to prevent that Google is returning a error 'Too Many Requests' as response.
** I've already tried contacting google multiple times in different ways, but i still didn't received any awnser on this.
Endpoint
Payload:
{
"operations": [
{
"create": {
"userIdentifiers": [
{
"hashedEmail":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx",
"hashedPhoneNumber":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx",
"addressInfo": {
"hashedFirstName": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx",
"hashedLastName": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx",
"countryCode": "xxxxx",
"postalCode": "xxxx"
}
}
]
}
}
],
"customerMatchUserListMetadata": {
"userList": "customers/000000/userLists/0000000"
}
}
Issue:
[RESPONSE][{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"errors": [
{
"errorCode": {
"collectionSizeError": "TOO_MANY"
},
"message": "Too many.",
"location": {
"fieldPathElements": [
{
"fieldName": "operations"
}
]
}
}
],
"requestId": "XXXXXXXXX"
}
]
}
}
]
Thank you in advance!
Kind regards,
Kurt