My Products
Help
Anonymous
Not applicable

Error from GET dimensions

by Anonymous

Hi, 

 

We're receiving an error when trying to call

https://integration.visma.net/API/controller/api/v1/dimension/SUBACCOUNT?expandSegmentsValues=false

This only occurs for a single company, 2077750. 

 

We're receiving the following error: 

{
  "ExceptionType": "IPPException",
  "ExceptionMessage": "Invalid parameter exception: companyInContext",
  "ExceptionFaultCode": "12002",
  "ExceptionMessageID": "12002_12002_6d95ebb4-4111-43ef-894e-f95d31a4fbc1",
  "ExceptionDetails": ""
}

 

Any idea what might be the issue? 

 

Best regards,

André

1 REPLY 1
Accepted solution
Yıldırım
VISMA

by Yıldırım (Updated ‎20-08-2020 16:20 by Yıldırım VISMA )

Hello André, 

the error message you receive indicates that your token (generated from visma user) does not have access to the desired company. 

Please make sure that,

*user has been granted Financials Administrator & Financials User roles on the specified company. 
*Request Hedaers: "ipp-company-id" value is correct and it's visible when you make GET:Context request with authenticated user/token.

Please also review:Connecting your Visma.Net Financials company to the API