to get a personalized navigation.
to get a personalized navigation.
Hi,
I have a problem now where we fail to perform the action /controller/api/v1/shipment/{shipmentNumber}/action/confirmShipment.
The response we get is
{
"message": "Error confirming shipment: Object reference not set to an instance of an object."
}
It works for other customers except this one, but I cannot see what it different here.
The full call that we make is
POST https://integration.visma.net/API/controller/api/v1/shipment/4709289/action/confirmShipment
Can you see if there is something wrong with that call?
Best regards,
Ronny Videkull
Solved! Go to Solution.
We found the issue to this problem now.
The user/token that used the API did not have the necessary permissions (Financials Administrator & Financials User).
Thank you very much for helping with this.
Hello,
Unfortunately we can not determine what could be exactly wrong with the shipment by looking to the error returned from the "confirm shipment" action called via API. We recommend trying the same operation in the UI for the document<4709289> that is failed with the API.
In this way, Financials can highlight errors / fields on the component thus you can review the document and retry the operation.
Thanks.
Copyright © 2022 Visma.com. All rights reserved.