Trying to find out why my service is providing an error message in prod.
The service is run from an admin app and runs a web request towards vipps.
It works fine in dev, so I don´t really understand the error. The user has the required role to run the service and I don´t see why it would be different in prod.
I have verified that the web request is OK (url is different than in dev) in postman.
If that is the case, you can setup an Catch Web Request Exception underneath your web request. If your web request fails, which seems to be the case according to your screenshot, details about the failure will be logged.
You can then map these properties to your Event Log to get all the details about the web request, which is useful when debugging.
Without some more information about the failure, it is hard to debug what has gone wrong