Context object not JSON serialisable

Right I solved it.

I have to create a context object (context_from_entity) for the register_publish and a simple dict context for the api sg.create.

It’s a bit confusing indeed to figure out when to use which.

1 Like