Skip to main content

Buffer Object Error

Buffer Object Error explained.

Praise Magidi avatar
Written by Praise Magidi
Updated this week

Step

Buffer Destination

Message

Attempted to save documents to a buffer that were not objects

Cause

Synatic Buffers can only store records that are in JSON object format. When attempting to insert a record that is not in JSON object format, the platform will return the following error.

```
Attempted to save documents to a buffer that were not objects
```

Resolution

Ensure that the record you're trying to insert is in JSON object format.

{
"name": "John",
"age": 49
}

Error Detail

{
"error": {
"name": "DetailedError",
"documents": [14],
"statusCode": 400
},
"message": "Attempted to save documents to a buffer that were not objects",
"errorMessage": "Attempted to save documents to a buffer that were not objects",
"stepType": "Destination",
"stepName": "Buffer",
"stepId": "3355ed39-6daa-4d9d-a44e-c4f8b0ab1c8e",
"mapStepId": "AjMVXujvu",
"mapStepPath": "AjMVXujvu",
"mapStepType": "Step",
"module": "Basic",
"stepModule": "Synatic"
}
Did this answer your question?