Retrieving inventory via the API - error This user is not associated with any organization

Retrieving inventory via the API - error This user is not associated with any organization

{
"code": 6041,
"message": "This user is not associated with the CompanyID/CompanyName:4343289778978968."
}