Mine områder
Hjelp
popandepo
CONTRIBUTOR **

context endpoint gone in swagger doc for service api + invalid scope

av popandepo (Oppdatert ‎23-10-2023 14:25 av popandepo )

I have old code that used the context endpoint to check if the app has access to and can connect to vismanet. This was using the old authentication method with vni.

After I rewrote it to use Visma Connect machine-to-machine, the context endpoint no longer works. I get a 401 invalid scope error. I tried adding financialstasks, but token-gen failed then.

Is there a fix for this or plans to fix the endpoint? Or is there another endpoint I can use just to check that the authentication I'm sending is correct and that Visma is up and running?

Thank you very much!
-Marius

scopes i used:
[

"vismanet_erp_service_api:create",

"vismanet_erp_service_api:delete",

"vismanet_erp_service_api:read",

"vismanet_erp_service_api:update"

]

2 SVAR 2
popandepo
CONTRIBUTOR **
Markus Wang
VISMA

av Markus Wang

Hi Marius!

 

Please ask your question in our Developers Community.

 

Markus
Visma

Gå til de områdene du ønsker å legge til og velg "Legg til i Mine områder"