Closed robrechtdr closed 7 years ago
Welp, Looks like the last update has broken creating new entities entirely (using the properties
argument on construct)
Workaround for the time being would be to set each property explicitly and avoid using the properties
argument.
Just going to use the version from the commit before (https://github.com/MediaMath/t1-python/commit/09cdf1a6742b9a26ed07a40e39b96a3d0571f063).
I assume this will use the new endpoints and not the deprecated ones (https://developer.mediamath.com/docs/read/terminalone_api_overview/Upcoming_API_Migrations).
@FodT We are currently using a fork that doesn't include the changes which create this issue. Would it be possible to put this issue in the backlog under projects (can't see it there currently) so it gets fixed soon and we can start pulling from your repo again when a new problem arises and there's a fix?
Resolved by #136
As suggested in the bottom of the https://github.com/MediaMath/t1-python#entities in the documentation:
Looking through the SDK code shows me that it fails here: https://github.com/MediaMath/t1-python/blob/4703da8b4e32ac028a68caa1fa05ea9e51159e7c/terminalone/connection.py#L190.
Looks like the properties data is not propagating to the post call somehow.