In my code I am trying to initialize a new resource with something along the lines of:
from transifex.api import transifex_api as tx_api
resource_name = "My Resource"
resource_slug = "my_resource"
tx_api.Resource.create(name=resource_name, slug=resource_slug)
and this throws a JsonApiException with error code 400 whose detail reads 'relationships is a required property'. I am not sure I understand why. Any clue?
Thank you for reaching out to the Transifex community.
Regarding your issue can you please check the following link?
Also regarding the creation of the resource I see that your variable is resourcel_slug but you used it in the next line of code as resource_slug
So, what about the following example?