Hi everyone,
I'm currently facing an issue while attempting to connect to the Business Central SAAS API. I'm trying to generate an output, but I'm encountering the following error:
{"error":{"code":"Authentication_InvalidCredentials","message":"Web service call failed because the user could not be authenticated or authorized. CorrelationId: 8d4ee087-68a7-4017-9c76-00c4dd89e0b0."}}
I'm not sure how to proceed to resolve this issue. Any guidance or suggestions would be greatly appreciated. Thanks in advance!
Api is usually used as POST and not GET as you are using it.
And I noticed that you don't have parameters in the Header either