User ID in termbase entry history field seems to be invalid

Hi,

I'm querying termbase entries through the API. There the createdBy / lastModifiedBy fields seems to contain basic fields of the related user.

However, the id field there seems to be invalid. E.g. the createdBy.id field contains "589481120cf259d01a966ade", but there is no user with that Id (the API returns "User could not be found", and also cannot find it in the WEB UI).

If I navigate in the WEB UI to the user who created this entry, then I see a different ID in the URL.

the ID field here means something else maybe? In case the entry was created/edited by a service user through the API, then all the other fields in createdBy (first name, last name etc) are empty, I only have the ID, and I try to identify the related user based on this.

Can someone help with this?

thanks,

Tamas

emoji
Parents Reply
  • Hello,

    The email/firstName/lastName of a service user will not be returned also on get user endpoint. It is not about the user that you are performing these calls, but the user expected as result. So if you ask for these fields and the result would be a service user, these will not be returned. 

    We can plan a change to add the name of service user (single field, not 2 fields firstName + lastName) on User model. Just the name can be added because the service user does not have an email associated. Would be helpful for you?

    Best regards,

    Cristina

Children