My Products
Help
Ronald de Jong
CONTRIBUTOR **

POST Supplierinvoice using new authentication results in No access to branch error message

by Ronald de Jong

When I try to create a supplier invoice using new authentication, in a customer environment in which Custom-made branch roles are implemented, I get a 'No access to branch error'. 

 

As the VNI authentication no longer works as of 31st of december, this is urgent!

2 REPLIES 2
Accepted solution
Yıldırım
VISMA

by Yıldırım (Updated ‎14-12-2023 15:55 by Yıldırım VISMA )

Hello, according to our investigation this is related to a cache issue, that user which has been created for the Service type app on the fly is not immediately synced with the company that request has been made, therefore, usually a day helps to get this resolved upon server cache cycle.  However, we're working to fix this, as the behaviour explained above is not feasible. 

 

andreasaulin
CHAMPION **

by andreasaulin

Sounds like the same error as this one:
https://community.visma.com/t5/Forum-in-Developers-Visma-net/Error-Branch-1-cannot-be-found-in-the-s...

Only workaround I've found is to enable tenant-auth. Get the error. Switch back to the old token for 24  (or so) hours and then back to tenant again ...

Not ideal to say the least.