SyntaxError: Expected ‘,’ or ‘}’ after property value in JSON — how do I repair it?

The parser finished reading a property value and expected either another field after a comma or the end of the object. Check that boundary in the original text. A missing comma, a missing brace or an extra token can all make the next character look unexpected.
Compare the failing fragment with the valid object below. The commas separate name, role and active. If an application produced the JSON, fix that construction path so it generates one correctly delimited object. A client-side replacement can also change characters that belong inside a string.
Validate the corrected response with a strict parser using the same route and input that failed. When errors occur only with certain records, compare their serialized boundaries to see which field caused the producer to emit invalid text.
{"name":"Sam","role":"admin","active":true}
Compare the parser offset with the end of the previous value and the start of the next key.