Skip to main content
All CollectionsTines FAQBuilding Stories
Encoding UTF8 on action run
Encoding UTF8 on action run

Could not create event – PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8" error

Updated over a week ago

Some users get this error message:

Could not create event – PG::CharacterNotInRepertoire: ERROR: invalid byte sequence for encoding "UTF8" error

This can happen if we use non-UTF8 characters in an event. All events emitted are UTF8 JSON.

When you BASE64 Decode the string it generates data that cannot be placed into the event due to it not being UTF8 friendly resulting in the error.


The reason you can see an output on the test and pill builder preview is because these does not attempt to write the data to an event yet. The error only occurs when trying to place the data into an event to be emitted.

Did this answer your question?