Invalid app credentials found in request

Please complete the details below then remove this line:


Volt MX Version: 10.0.5
Operating System: Win11
Database (if appropriate): Microsoft SQL Server
Server: Tomcat


Problem/Query:

Can someone help me with this error:

WARN ⇏ Services for this application will not work since they are not published to Foundry.
ERROR Error get service doc for mf app:ERROR: HTTP GET on https://volt.tiberio.com.br:8443/authService/100000002/appconfig?compositeSvcDoc=true failed for [Fetch service document of app] with status 401. Details - {“details”:{“message”:“Invalid App Credentials found in Request”,“errcode”:0,“errmsg”:“Invalid App Credentials found in Request”},“httpstatus”:“Unauthorized”,“requestid”:“a6bfe930-38a4-4533-87fb-8db136e5136e”,“domain”:“AUTH”,“code”:-9,“mfcode”:“Auth-9”,“message”:“Invalid App Credentials”}

Why does it happen? How can this error be avoided? How can it be corrected?

Hello @cristech1970 , Thank you for posting in our Forum!

Is this issue/error occurring when building and publishing from Volt Iris? If so, you can try to Unlink App, ensure you are pointing to the correct environment (Project Settings > Foundry > Environment), Project Refresh, Link to existing app, and attempt to build and publish.
If the above doesn’t help, please create a new case so we can review/troubleshoot further.

Thank you and have a nice day!

Já fiz isso, inclusive na pasta do projeto, já removi o conteúdo da pasta temp, .webapps, webapp. Tentei também removendo o app do foundry e recriar ele, e o mesmo erro. em outro ambiente/servidor esta dando certo. no momento estou investigando o que pode estar diferente entre os ambiente

Thank you for the update!

Was the Foundry application published first from Foundry Console before we link it and tried to build and publish from Volt Iris?

Please open a case and we can help review this further by reviewing Iris, Foundry logs, etc.

Thank you!

Solved.

First, in Manage Client App Assets / Web, I removed the binary, unpublished, and republished the app without the binary.

Voltmx Iris: in the Workspace folder, I cleaned the following folders:

.webapps

temp

webapps

.plugins (to force Voltmx to download all plugins again)

I removed the app link from Foundry, recreated the link, imported the Foundry app into Voltmx, and after all that, I did the build, which worked.

Although solved, this happens quite frequently. I think it’s worth analyzing to improve this process, or some way to store the keys in the app as well.

Hi, the problem has returned. I think the issue is with Foundry. I applied a new fix to the app and the same problem with the keys has reappeared. The app has Responsive and Adaptive versions. If I publish only the Responsive Web version, the publication occurs without problems. When I include the Adaptive version, the error with the keys occurs.

Problem solved with the oldest, most classic solution in the world of technology: The server was restarted and everything went back to normal.