GroupShare Web API, While I am trying to create a Translation Memories using Rest API POST /api/tmservice/tms , getting "You are not allowed to perform this operation"

GroupShare Web API, While I am trying to create a Translation Memories using Rest API POST /api/tmservice/tms , getting "You are not allowed to perform this operation"

Sending the correct bearer token in authorization header, and that user got Power User role

POST Request

Response 200 OK, with below error message

{"errorCode":"AuthorizationError","message":"You are not allowed to perform this operation"}

emoji
Parents
  • Identified the root cause behind this, now able to create the TM with below

    Before you create a TM please make sure you HAVE CREATED A TEMPLATE FIELD and a LANGUAGE RESOURCE TEMPLATE

    Replace the Unique Ids after above call in below

     "fieldTemplateId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "languageResourceTemplateId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

    And also send the ownerId which is Organisation Id, will be able get this based on location

     "ownerId" :"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Reply
  • Identified the root cause behind this, now able to create the TM with below

    Before you create a TM please make sure you HAVE CREATED A TEMPLATE FIELD and a LANGUAGE RESOURCE TEMPLATE

    Replace the Unique Ids after above call in below

     "fieldTemplateId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "languageResourceTemplateId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",

    And also send the ownerId which is Organisation Id, will be able get this based on location

     "ownerId" :"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Children
No Data